gets or sets the current drive on the host system
INCLUDE 'iolib.h' currentdrive(Drive)
currentdrive(Drive) (i) (o)
integer(Drive) (i) Number of current drive
If drive is a bound integer, currentdrive changes to the drive given, if Drive is unbound, the current drive is returned. Drive 'A:' is integer 1, 'B:' is 2 etc.
Note: This predicate is host dependent, it does not make sense on systems other than DOS or MS WINDOWS.
No runtime errors.
prolog-process, client-server, object
servertype , cd