removes directory from the host servers file system
INCLUDE 'iolib.h'
rmdir("testdir")
rmdir(DirName) (i)
string(DirName) (i) Name of the directory to be removed
Removes a directory from the host servers file system relative to the current directory. Fails if operation was not possible.
mkdir("tmp"),
cd("tmp"),
tell("outputfile"),
write("Hello World\n"),
told,
cd(".."),
readln(_),
rmdir("tmp").
No runtime errors.
prolog-process, client-server, object