Difference between revisions of "FILETOSTR()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
 
 
==Purpose==
 
==Purpose==
 
Function to read a file into a text string  
 
Function to read a file into a text string  
Line 10: Line 8:
  
 
==See Also==
 
==See Also==
[[AT()]], [[ATNEXT()]], [[FCLOSE()]], [[FCREATE()]], [[FERROR()]], [[FGETS()]], [[FOPEN()]], [[FPUTS()]], [[FREAD()]], [[FREADSTR()]], [[FWRITE()]], [[MEMOREAD()]], [[MEMOWRITE()]], [[SUBSTR()]], [[STUFF()]], [[STR()]], [[STREXTRACT()]], [[STRTOFILE()]], [[STRTRAN()]], [[STRZERO()]], [[TEXTEDIT()]], [[TRIM()]]
+
[[AT()]], [[ATNEXT()]], [[FCLOSE()]], [[FCREATE()]], [[FERROR()]], [[FGETS()]], [[FOPEN()]], [[FPUTS()]], [[FREAD()]], [[FREADSTR()]], [[FWRITE()]], [[MEMOREAD()]], [[MEMOWRITE()]], [[SET STRESCAPE]], [[STUFF()]], [[STR()]], [[STREXTRACT()]], [[STRTOFILE()]], [[STRTRAN()]], [[STRZERO()]], [[SUBSTR()]], [[TEXTEDIT()]], [[TRIM()]]
  
  
Line 32: Line 30:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:String Data]]
 
[[Category:String Data]]
 
[[Category:String Data Functions]]
 
[[Category:String Data Functions]]

Latest revision as of 13:26, 21 July 2010

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(), 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 Server, Recital