Difference between revisions of "FILETOSTR()"
From Recital Documentation Wiki
Yvonnemilne (Talk | contribs) |
Helengeorge (Talk | contribs) (→Class) |
||
Line 1: | Line 1: | ||
− | |||
− | |||
Revision as of 15:16, 27 October 2009
Purpose
Function to read a file into a text string
Syntax
FILETOSTR(<expC>)
See Also
AT(), ATNEXT(), FCLOSE(), FCREATE(), FERROR(), FGETS(), FOPEN(), FPUTS(), FREAD(), FREADSTR(), FWRITE(), MEMOREAD(), MEMOWRITE(), SUBSTR(), STUFF(), STR(), STREXTRACT(), STRTOFILE(), STRTRAN(), STRZERO(), TEXTEDIT(), TRIM()
Description
The FILETOSTR() function reads the specified file and returns its contents as text.
Parameter | Description |
---|---|
<expC> | Name of the file to be read. This should include the path if not in the current directory. |
Example
myString = filetostr("myfile.txt")
Products
Recital Database Server, Recital Mirage Server, Recital Terminal Developer