linesFile( fname, list )

This function writes each successive item in the list to the file, with a line break between each item. The line break is platform dependant.

The following example creates a file in the output called lines.txt and writes three lines to the file, converting items to strings as required.

:-) linesFile( "lines.txt", { "line1", "line2", 5 } );
There are 0 results
      

The contents of the written file would be:

line1
line2
5