Returns a string containing the next line of text from the specified random access file, data input stream or data input object.
Syntax
readLine( inputstream )
inputstream.readLine( )
Parameters
inputstream
|
the random access file, data input stream or data input object to use.
|
Returns
string
|
line read.
-1 if end of file was reached.
|
Example
line = fh.readLine( )
|