readLine


function readLine(res: resource):string;

Reads the next line from the given resource, returns an empty string if there were no more lines to read or if there was an error reading from the stream. If there are empty lines in the resource, they will be skipped.

See also: openResource, resourceAvailable, closeResource, readByte