top

writeLine

Published 2014-10-28 | (Compatible with SDK 2.5,3.5,4.5,5.0,5.1 and 2010,2011,2012,2013,2014 models)

Writes a line in an opened file.

The writeLine class writes a line in an opened file.

writeLine
Syntax fileObj.writeLine(text);
Parameter
text (String)
text to write in a file
Return Value Boolean
Remarks None
Example
var fileSystemObj = new FileSystem();
var fileObj = fileSystemObj.openCommonFile(curWidget.id + '/testFile.data', 'w');
    fileObj.writeLine('something to write.');
    fileSystemObj.closeCommonFile(fileObj);
Enumeration None