fileWriteLine

Appends content to an existing file

fileWriteLine(file, data) → returns void

fileWriteLine Argument Reference

file any
Required

The file where you want to add your content

data string
Required

Content to add to the file

Examples sample code invoking the fileWriteLine function

myfile = fileOpen("c:\temp\test1.txt", "write"); 
fileWriteLine(myfile,"This line is new."); 
fileClose(myfile);

Fork me on GitHub