4.6.7 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 compatibility with other Prologs. 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”).


Send feedback on this subject.