f$FileWriteLine (f$DateiSchrZeile)
f$FileWriteLine (f$DateiSchrZeile)
Write a line in a file previously opened for writing. A line break is created at the end of the line.
Syntax: | Status = f$FileWriteLine( FileNo, Text ) | ||
| Argument | Type | Meaning |
| FileNo | Integer | File number |
| Text | String | File line to be produced |
Result: | Integer | Number of characters written | |
Example: | Status = f$FileWriteLine( FileNo, 'Smith;Herbert' ) | ||
Related functions:
f$FileWrite | Write a value into a file (without line break) |
f$FileNewLine | Write a line break into a file |