MakeDir (create a directory)
ts
function MakeDir(what: string): boolean;This function attempts to create the what directory in the local file-system, and returns true if the creation is successful, or false if the function fails.
This function accepts the following parameters:
| Parameter | Type | Requirement | Explanation |
|---|---|---|---|
what | string | required | must be a valid and non-existing path to the directory you wish to create |
Possible return values:
| Value | Explanation |
|---|---|
true | the function succeeded: the directory was created |
false | the function failed: the directory was not created |
