Function writes an optional list of string expressions to a file that was previously opened with OpenWrite function, and then writes the Windows End-of-Line character sequence after all the expressions have been written.
If no expressions, or numeric variables are supplied, then WriteLine just writes the End-of-Line character sequence.
For Windows, the End-of-Line sequence is ASCII character 10 for Line Feed. Windows text file editors like NotePad will interpret this sequence as the start of a new line. If more than one parameter is passed, they are separated by commas for ease of using CSV formatting to simplify file use in spreadsheet programs.
Syntax: |
---|
fileManager.WriteLine( fileNumber [, expression2] [, expression2] [, etc...] ) |
Parameter: |
Description: |
---|---|
fileNumber |
The file number, when more than one file has been opened. |
[,expression] |
Optional: The first string expression to write. |
[,expression2] |
Optional: The second string expression to write. |
[,etc...] |
Optional: Any other string expression to write. |
Example: |
---|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Returns: |
---|
No information is is returned. |
Links: |
---|
See Also: |
Edit Time: 9/21/2020 1:50:27 PM |
Topic ID#: 654 |