EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 493

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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()