returns the filename of the currently seen file
INCLUDE 'iolib.h' seeing(FileName)
string(FileName) (i) Name of the file that is open
Returns the filename of the file that was opened with see
(). If no file was opened, 'stdin' is returned.
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!
No runtime errors.
prolog-process, client-server, object
see , seeing , tell , telling , told , read , readln , readchar , get , openread , readdevice , closefile