PC Logo Wiki
Register
Advertisement

Syntax

CURDIR

Explanation

CURDIR outputs the current directory.

See also SETCURDIR, DISK and SETDISK.

Examples

The following two procedures switch to a new directory and switch back to the old directory.

TO CHDIR :NAME

MAKE "OLD.DIR CURDIR
SETCURDIR :NAME

END

TO CHBACK

SETCURDIR :OLD.DIR

END

Advertisement