Next: , Previous: , Up: mpg-bpr   [Contents][Index]


11.3.13 at_end_of_line/[0,1]

Synopsis

at_end_of_line

at_end_of_line(+Stream)

Test whether end of line (record) has been reached for the current input stream or for the input stream Stream.

Arguments

Stream

stream_object, must be ground

A valid Prolog input stream, defaults to the current input stream.

Description

Succeeds when end of line (record) is reached for the specified input stream. An input stream reaches end of line when all the characters except LFD of the current line have been read.

Is also true whenever at_end_of_stream/[0,1] is true.

Exceptions

Stream errors (see ref-iou-sfh-est).

See Also

at_end_of_stream/[0,1], skip_line/[0,1], set_input/1.


Send feedback on this subject.