returns the filename of the currently told file
INCLUDE 'iolib.h' telling(FileName)
telling(FileName) (o)
string(FileName) (i) Name of the file that is open
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!
No runtime errors.
prolog-process, client-server, object
see , seeing , seen , tell , told , write , display , put , openwrite , writedevice , closefile