Contents - Index


EESFILEDIR$

 

The EESFILEDIR$ function returns the directory of the current EES file.  The function has no arguments.  The string returned by this function ends with a \ character.  This function is needed to save a file in a particular directory using the $EXPORT or $SAVETABLE directive.  Assume, for example, that the Arrays table is to be saved as file Results.txt in subdirectory DATA that is within the directory that the current EES file was read from.  The following EES statement and directive will automatically accomplish this save operation.

 

F$=concat$(EESFILEDIR$,'DATA\Results.txt')

 

$SAVETABLE 'ARRAYS'  F$

 

See also: EESProgramDir$

               EESFileName$

 

Return to String Functions