Name
WriteLine -- write a new line to a file
Synopsis
WriteLine(id, line$)
Function
Writes the string specified by line$ to the file described by id and increases the file cursor accordingly.

Note that on Windows systems WriteLine() appends both, carriage return and line feed, to line$ whereas on all other systems only the line feed character is appended to line$. This behaviour can be changed by calling the UseCarriageReturn() command. See UseCarriageReturn for details.

Inputs
id
number specifying the file to use
line$
string to write to file
Example
See ReadChr


Show TOC