f$FileBinRead (f$BDateiLesen)
f$FileBinRead (f$BDateiLesen)
Reads a file into a string parameter. Please note that the buffer for binary data will be overwritten, even when a target parameter exists.
Please note that, when entering a path in the file name, the character "\" must be entered twice ("\\").
Syntax: | Status = f$FileBinRead( Filename, Paranamecontent ) | ||
| Argument | Type | Meaning |
| Filename | String | Name of the file to be read. The complete path must be entered. |
| Paranamecontent | String | Name of a string parameter in which the file's complete content is written. |
Result: | Integer | 0: file was read successfully, -1: file does not exist. | |