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