telling
BAP Online Manuals : Library
Reference : Library by Name
: telling
Previous: tell
Next: time
BAP Online Manuals : Library Reference : Library by Name : telling
Previous: tell
Next: time
Previous: tell
Next: time
6.2.130. telling
returns the filename of the currently told file
SYNOPSIS
INCLUDE 'iolib.h' telling(FileName)
SYNTAX
telling(FileName) (o)
ARGUMENTS
string(FileName) (i) Name of the file that is open
DESCRIPTION
Returns the filename of the file that was opened with tell
(). If no file was opened, 'stdout' is returned.
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!
ERRORS
No runtime errors.
LAYERS
prolog-process, client-server, object
RELATED PREDICATES
see , seeing , seen , tell , told , write , display , put , openwrite , writedevice , closefile
BAP Online Manuals : Library Reference : Library by Name : telling
Previous: tell
Next: time