Reads all the characters up to the next line feed or carriage return.
Usage:
ioReadLine (object me )
Parameters:
None
Returns:
(string) - binary string
(integer) - function returns 0 if end of file is reached
Example:
xtRose = xtra("Rosetta").new( )
xtRose.ioOpen( "C:\mySavedData.dat", 1 )
repeat while TRUE
strLine = xtRose.ioReadLine( )
if integerP( strLine ) then exit repeat
end repeat
Notes:
Read line will read all characters up to the next line feed or carriage return. The line feed and carriage return characters are not part of the return string. The position is incremented to the line feed or carriage return character ( which ever comes last ).