inffic.c File Reference

#include <string.h>
#include "machine.h"
#include "core_math.h"
#include "inffic.h"

Include dependency graph for inffic.c:

Go to the source code of this file.

Defines

#define MAXDATA   5

Functions

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

Variables

static char * dataStrings []


Define Documentation

#define MAXDATA   5

Definition at line 7 of file inffic.c.

Referenced by get_sci_data_strings(), inffic(), and infficl().


Function Documentation

char* get_sci_data_strings ( int  n  ) 

Definition at line 46 of file inffic.c.

References dataStrings, Max, MAXDATA, and Min.

Referenced by C2F(), getfilenamehistory(), realmain(), and TerminateCorePart1().

00047 {
00048   return dataStrings[Max(Min(n,MAXDATA),0)];
00049 }

Here is the caller graph for this function:

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

Definition at line 26 of file inffic.c.

References dataStrings, Max, MAXDATA, Min, name, and nc.

00027 {
00028   *nc=strlen(dataStrings[Max(Min(*iopt-1,MAXDATA),0)]);
00029   strcpy(name,dataStrings[Max(Min(*iopt-1,MAXDATA),0)]);
00030 }

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

Definition at line 36 of file inffic.c.

References dataStrings, Max, MAXDATA, Min, and nc.

Referenced by CreateButtons().

00037 {
00038   *nc=strlen(dataStrings[Max(Min(*iopt-1,MAXDATA),0)]);
00039 }

Here is the caller graph for this function:


Variable Documentation

char* dataStrings[] [static]

Initial value:

 {
  "$MANCHAPTERS",
  "exec('SCI/etc/scilab.start',-1);",         
  "scilab_demos();",     


 
  "home/.history.scilab",                

  "home/scilab.save",                    
  "exec('SCI/etc/scilab.quit',-1);quit;"         
}

Definition at line 9 of file inffic.c.

Referenced by get_sci_data_strings(), inffic(), and infficl().


Generated on Sun Mar 4 15:15:06 2007 for Scilab [trunk] by  doxygen 1.5.1