LINEOUT(testdata.txt,VarString,1)
writes the contents of VarString as the first line in "testdata.txt"
LINEOUT(testdata.txt,VarString)
writes the contents of VarString as a line at the current write position in "testdata.txt"
LINEOUT(testdata.txt)
closes the file "testdata.txt"
Success = lineout(testdata.txt,VarString)
writes the contents of VarString in the file "testfile.txt" and assigns the operation return code to the variable Success