TextOutputStream.WriteLine
From Xojo Documentation
Method
Writes the text passed to the TextOutputStream and appends the Delimiter to the end of the line.
Example
This example displays the Save As dialog box. A text file is then created and the text properties of three TextFields are written to the new file. Finally the file is closed.