f$TextFileRead (f$TextDateiLesen)
f$TextFileRead (f$TextDateiLesen)
Opens and reads a file with a given encoding into a string parameter.
Please note that, when entering the path in the file name, the backslash ( \ ) character must be entered twice ("\\").
Syntax: | Status = f$TextFileRead( FileName, ParaNameContent, Encoding ) | ||
| Argument | Type | Meaning |
| FileName | String | Name of the file to be opened and read from. Please provide the complete path. (Source) |
| ParaNameContent | String | Name of the string parameter in which the file's complete content will be written. (Target) |
| Encoding | Integer | 0: ANSI |
Result: | Integer | 0: The file has successfully been read and the content has been copied to the target parameter. | |