inffic.h File Reference

#include "machine.h"

Include dependency graph for inffic.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define MANUAL_ID   0
#define STARTUP_ID   1
#define DEMOS_ID   2
#define SAVE_ID   3
#define QUIT_ID   4

Functions

void C2F() inffic (integer *iopt, char *name, integer *nc)
void C2F() infficl (integer *iopt, integer *nc)
char * get_sci_data_strings (int n)


Define Documentation

#define DEMOS_ID   2

Definition at line 27 of file inffic.h.

#define MANUAL_ID   0

definitions for get_sci_data_strings MANUAL_ID returns "$MANCHAPTERS" STARTUP_ID returns "exec('SCI/etc/scilab.start',-1);" DEMOS_ID returns "scilab_demos();" SAVE_ID returns "home/scilab.save" QUIT_ID returns "exec('SCI/etc/scilab.quit',-1);quit;"

Definition at line 25 of file inffic.h.

#define QUIT_ID   4

Definition at line 29 of file inffic.h.

Referenced by TerminateCorePart1().

#define SAVE_ID   3

Definition at line 28 of file inffic.h.

Referenced by errmsg().

#define STARTUP_ID   1

Definition at line 26 of file inffic.h.

Referenced by realmain().


Function Documentation

char* get_sci_data_strings ( int  n  ) 

Definition at line 54 of file inffic.c.

References dataStrings, Max, MAXDATA, and Min.

Referenced by errmsg(), realmain(), and TerminateCorePart1().

00055 {
00056   return dataStrings[Max(Min(n,MAXDATA),0)];
00057 }

Here is the caller graph for this function:

void C2F() inffic ( integer iopt,
char *  name,
integer nc 
)

Definition at line 34 of file inffic.c.

00035 {
00036   *nc=(integer)strlen(dataStrings[Max(Min(*iopt-1,MAXDATA),0)]);
00037   strcpy(name,dataStrings[Max(Min(*iopt-1,MAXDATA),0)]);
00038 }

void C2F() infficl ( integer iopt,
integer nc 
)

Definition at line 44 of file inffic.c.

00045 {
00046   *nc=(integer)strlen(dataStrings[Max(Min(*iopt-1,MAXDATA),0)]);
00047 }


Generated on Tue Sep 9 17:49:52 2008 for Scilab [trunk] by  doxygen 1.5.5