Xbasic
FILE.TO_STRING Function
Syntax
Data as C = FILE.To_string(C Filename)
Arguments
- FilenameCharacter
The full path specification of the file.
Returns
- DataCharacter
Returns the data in the file.
Description
The FILE.TO_STRING() method reads a file from disk into a text variable, Data.
Example
dim cc as C cc = FILE.to_string("C:\Frame.Txt") ? len(cc) = 1777.000000
See Also