tests whether the inputstream is positioned at the end.
at_end_of_stream succeeds if the position of the current inputstream is at the end. at_end_of_stream(Stream) succeeds if the position of Stream is at the end.
To succeed Stream must be associated with an open stream and must have the property end_of_stream(at) or end_of_stream(past).
Stream input stream
'input_stream' is an input stream which has been completely scanned.
| at_end_of_stream(input_stream). | Succeeds. |
These predicates are part of the ISO-Prolog Standard.
| scroll to top |
|