sub WriteLine(stream, txt$)

Writes a string to a text file with a new-line appended at the end


Related: Write ReadLine$