BAP Online Manuals : Library Reference : PROLOG library function groups : PROLOG I/O Predicates
Previous: PROLOG Message Passing Library
Next: PROLOG Windows Library

6.1.4. PROLOG I/O Predicates

write (Term) (void) (i)
display (Term) (void) (i)
nl
set_flush_nl (Mode) (integer) (i)
flush_print_buffer ()
read ;(Term) (void) (o)
get (Char) (integer) (i)
consult ;(FileName) (string) (i)
listing ;(PredName) (atom) (i)
readln ;(Str) (string) (o)
readchar (Char) (char) (i) eof (Handle) (handle) (i)
closefile (Handle) (handle) (i)
closefiles () () ()
readdevice (Handle) (handle) (i) (o)
see (FileName) (string) (i)
seeing (FileName) (string) (o)
seen () () ()
writedevice (Handle) (handle) (i) (o)
tell (FileName) (string) (i)
telling (FileName) (string) (o)
told () () ()
openread (Handle,FileName) (handle,string)) (o,i)
openwrite (Handle,FileName) (o,i)
openmodify (Handle,FileName) (o,i)
filepos (Handle,FilePos) (handle,integer) (i,i) (i,o)
filesize (FileLen,HostServerFileString) (integer,string) (o,i)
filedate (FileDate,HostServerFileString,FileDate) (integer,string) (o,i)
deletefile (HostServerFileString) (string) (i)
getenv (EnvVariableName,EnvVariableValue) (string,string) (i,i) (i,o)
cd (HostServerPath) (i) (o)
mkdir (HostServerPath) (i)
rmdir (HostServerPath) (i)
currentdrive (CurrentDriveId) (integer) (i) (o)
file_str (FileName,FileStr) (string,string) (i,o) (i,i)
beep () ()
time (ClockTick) (integer) (o) (i)
time (Hours,Minutes,Seconds,Hundreds) (integer,integer,integer,integer) (i,i,i,i) (o,o,o,o)


BAP Online Manuals : Library Reference : PROLOG library function groups : PROLOG I/O Predicates
Previous: PROLOG Message Passing Library
Next: PROLOG Windows Library