WriteFileLines Procedure

Creates or overwrites a text file with a list of line strings. Use ReadFileLines to read the contents of a text file back into a list of strings.
Declaration
sub WriteFileLines(
filePath as String, lines as List of String
)

Parameters

Possible error codes

Example

Code
WriteFileLines "myfile.txt", ["A", "B", "C"]
print ReadFileText("myfile.txt")
Output
A
B
C