Appends content to an existing file
fileWriteLine(file, data)
returns void
Name | Type | Required | Default | Description |
---|---|---|---|---|
file | any | Yes | The file where you want to add your content | |
data | string | Yes | Content to add to the file |
myfile = fileOpen("c:\temp\test1.txt", "write");
fileWriteLine(myfile,"This line is new.");
fileClose(myfile);