projog

3.78. see(X) - opens a file and sets it as the current input stream.

If X refers to a handle, rather than a filename, then the current input stream is set to the stream represented by the handle.

Examples