DIRMAKE(<C directory>)
Creates a directory if it does not already exist.
Returns <expL> true if the directory exists or was successfully created.

<directory> is the DOS path in the format

[<drive>:][<path>]<directory name>

If the specified directory does not exist, it will be created.

* Specified drive
IF .NOT. DIRMAKE("A:\Clipper\Utils\Asm")
? "Error -- Could not create directory"
? "Probably reached diskspace or file limit"
DO no_crash && procedure to handle errors
ENDIF

* Current drive
IF ! DIRMAKE("\Clipper\Utils\Asm")
? "Error -- Could not create directory"
? "Probably reached diskspace or file limit"
DO no_crash && procedure to handle errors
ENDIF

* The procedure no_crash is not a part of this library.
* It is used here as an example of syntax to call a procedure
* that you write for handling errors in your application.


Placed in the Public Domain by Tom Rettig Assoc.