Returns the number of lines that are available for input if
no option or option
Count is specified.
If the stream has already been read with
charIn
this can include an initial partial line.
If no data remains,
lines returns
0.
For persistent streams the count starts at the current read position.
As such,
lines reports whether a read
action of
charIn or
lineIn will succeed.
Option
Count is the default.
For a
Queue instance, the
inherited method
lines returns the actual number of lines
in the queue.