WriteLine
General Operation Statement
The WriteLine statement notates information to a general write file and starts a new line. Writeline always appends to the file unless the file is Reset. Any file that is written to with WriteLine automatically becomes a text file and has an end of file marker attached to the end when it is closed. Write and Writeline automatically separate values by commas.
Syntax
Writeline <file ID>, <string or numeric expression>{,<maximum digits before decimal>, <digits after decimal>}
Syntax Example
Writeline Rpt, Clock(min),3,2
Parameters
<file ID>
The file name as previously defined in the External Files Editor.
<string or numeric expression>
The string or numeric expression to be written to the file. In the output file, quotes are automatically added to string expressions so that most spreadsheet programs can easily read the file.
<maximum digits before decimal>
When writing real numbers, the maximum digits before decimal field determines the maximum number of digits before the decimal. Use this value to line numbers on different lines up on the decimal.
<digits after decimal>
When writing real numbers, the digits after decimal field determines the maximum number of digits after the decimal.
Remarks
The maximum digits sum before and after the decimal must be less than 20.