f$TextFileWrite (f$TextDateiSchreiben)
f$TextFileWrite (f$TextDateiSchreiben)
Writes a text into a file. If file exist, the existing content will be overwritten. If file does not exist, it will be created.
Please note that, when entering a path in the file name, the backslash ( \ ) character must be entered twice (e.g. "C:\\Directory\\TextFile.txt").
Syntax: | Status = f$TextFileWrite( FileName, ParaNameContent, Encoding) | ||
| Argument | Type | Meaning |
| FileName | String | Name of the file to be written. Please provide the complete path. (Target) |
| ParaNameContent | String | Name of the parameter containing the text to be written into the file. (Source) |
| Encoding | Integer | 0: ANSI (Default) |
Result: | Integer | 0: The file has successfully been written. | |