sets the current outputstream.
set_output sets the current outputstream to Stream. This stream may be used by the following output predicates without an explicit stream-argument.
Stream output stream
The following examples opens a file 'test.data' and sets the current output stream to this stream.
?- open('test.data', write, Stream), set_output(Stream).
This predicate is part of the ISO-Prolog Standard.
| scroll to top |
|