User Guide

readToken() 493
See also
Fileio, openFile()
readLine()
Usage
-- Lingo syntax
fileioObjRef.readLine()
// JavaScript syntax
fileioObjRef.readLine();
Description
Fileio method; Reads the next line of a file, including the next RETURN, and returns it as a
string.
You must first open a file by calling
openFile() before using readLine() to read a line.
Parameters
None.
See also
Fileio, openFile()
readToken()
Usage
-- Lingo syntax
fileioObjRef.readToken(stringSkip, stringBreak)
// JavaScript syntax
fileioObjRef.readToken(stringSkip, stringBreak);
Description
Fileio method; Reads the next token and returns it as a string.
You must first open a file by calling
openFile() before using readToken() to read a token.
Parameters
stringSkip
Required. A string that specifies the set of characters after which the token starts.
The string
stringSkip is not included in the returned string.
stringBreak Required. A string that specifies the set of characters before which the token ends.
The string
stringBreak is not included in the returned string.
See also
Fileio, openFile()