Stream and File Handling

The operations implemented are opening, closing, querying status, flushing, error handling, setting.

The predicates in the "see" and "tell" families are supplied for DEC-10 Prolog compatibility. They take either file specifications or stream objects as arguments (see mpg-ref) and they specify an alternative, less powerful, mechanism for dealing with files and streams than the similar predicates (open/[3,4], etc.), which take stream objects (see the figure "Categorization of Stream Handling Predicates").

images/ref-stream-io.png

Categorization of Stream Handling Predicates