deletes the specified file from the host servers file system
INCLUDE 'iolib.h' deletefile(FileName)
deletefile(FileName) (i)
string(FileName) Name of the file to be deleted
Causes the host server to delete the specified file from its file system. Succeeds if the file was successfully deleted, fails otherwise.
tell("test"), write("Hello World"),nl, told, see("test"), read(X), seen, deletefile("test"), write(X),nl.
No runtime errors.
prolog-process, client-server, object
openwrite , writedevice , tell , told