Difference between revisions of "FILETOSTR()"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 6: | Line 6: | ||
==See Also== | ==See Also== | ||
− | [[AT()]], [[ATNEXT()]], [[FCLOSE()]], [[FCREATE()]], [[FERROR()]], [[FGETS()]], [[FOPEN()]], [[FPUTS()]], [[FREAD()]], [[FREADSTR()]], [[FWRITE()]], [[MEMOREAD()]], [[MEMOWRITE()]], [[SET STRESCAPE]], [[STUFF()]], [[STR()]], [[STREXTRACT()]], [[STRTOFILE()]], [[STRTRAN()]], [[STRZERO()]], [[SUBSTR()]], [[TRIM()]] | + | [[AT()]], [[ATNEXT()]], [[BINFILETOSTR()]], [[BINSTRTOFILE()]], [[FCLOSE()]], [[FCREATE()]], [[FERROR()]], [[FGETS()]], [[FOPEN()]], [[FPUTS()]], [[FREAD()]], [[FREADSTR()]], [[FWRITE()]], [[MEMOREAD()]], [[MEMOWRITE()]], [[SET STRESCAPE]], [[STUFF()]], [[STR()]], [[STREXTRACT()]], [[STRTOFILE()]], [[STRTRAN()]], [[STRZERO()]], [[SUBSTR()]], [[TRIM()]] |
==Description== | ==Description== |
Revision as of 08:09, 4 March 2019
Contents
Purpose
Function to read a file into a text string
Syntax
FILETOSTR(<expC>)
See Also
AT(), ATNEXT(), BINFILETOSTR(), BINSTRTOFILE(), FCLOSE(), FCREATE(), FERROR(), FGETS(), FOPEN(), FPUTS(), FREAD(), FREADSTR(), FWRITE(), MEMOREAD(), MEMOWRITE(), SET STRESCAPE, STUFF(), STR(), STREXTRACT(), STRTOFILE(), STRTRAN(), STRZERO(), SUBSTR(), 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")