told
BAP Online Manuals : Library
Reference : Library by Name
: told
Previous: time
Next: trace
BAP Online Manuals : Library Reference : Library by Name : told
Previous: time
Next: trace
Previous: time
Next: trace
6.2.132. told
closes a file opened with tell
SYNOPSIS
INCLUDE 'iolib.h' told
SYNTAX
told
ARGUMENTS
(none)
DESCRIPTION
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!
EXAMPLE
tell(test), write("Hello World"),nl, told, file_str(test,X), write(X),nl.
ERRORS
No runtime errors.
LAYERS
prolog-process, client-server, object
RELATED PREDICATES
see , seeing , seen , tell , telling , write , display , put , openwrite , writedevice , closefile
BAP Online Manuals : Library Reference : Library by Name : told
Previous: time
Next: trace