closes a file opened with see
INCLUDE 'iolib.h' seen
seen
(none)
Closes a file that was opened by see ().
Sets the current input stream back to stdin.
NOTE: You should not mix up the old fashioned see(), seeing
(), seen predicates with the readdevice
(), closefile (), or gotowindow
() predicates. Always close files with the predicates belonging to the same
family!
file_str(test,"Hello World"), see(test), readln(X), seen, write(X),nl.
No runtime errors.
prolog-process, client-server, object
see , seeing , tell , telling , told , read , readln , readchar , get , openread , readdevice , closefile