4.6.1 Introduction

Prolog provides two classes of predicates for input and output: those that handle individual bytes or characters, and those that handle complete Prolog terms.

Input and output happen with respect to streams. Therefore, this section discusses predicates that handle files and streams in addition to those that handle input and output of bytes, characters and terms.


Send feedback on this subject.