Difference between revisions of "FILETOSTR()"

From Lianjapedia
Jump to: navigation, search
Line 11: Line 11:
 
The FILETOSTR() function reads the specified file and returns its contents as text.
 
The FILETOSTR() function reads the specified file and returns its contents as text.
  
{| class="wikitable" width=100%
+
{| class="wikitable" width="100%"
!width=20%|Parameter||Description
+
!width="20%"|Parameter||Description
 
|-
 
|-
 
|valign="top"|<expC>||Name of the file to be read.  This should include the path if not in the current directory.
 
|valign="top"|<expC>||Name of the file to be read.  This should include the path if not in the current directory.

Revision as of 12:22, 1 February 2013

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(), 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")

[Category:ASCII File Access Functions]]