File.readln() (Method)

Reads from the current position up to the next newline character in the file.


JavaScript - 1.1
Netscape Enterprise Server - 2.0
Property/method value type:String primitive
JavaScript syntax:NESmyFile.readln()

After this method returns the string read from the file, the position pointer is then located at the beginning of the next line.

You would use this to read records that are variable length and terminated by a newline character.

See, File.readByte()