This function creates a directory.
It only creates one level in the arborescence; the higher-level directory must already exist (e.g. to create 'c:\temp\mydir', 'c:\temp' must already exist).
Context
Windows client,
Windows server,
Mobile client,
Mobile server,
Java client,
Java server,
Adelia Web client,
Adelia Cloud client.
Parameters
ALPHA(n) |
Directory |
Directory name. E.g.: 'c:\temp\mydir' |
BOOL |
Successful |
Return code. *TRUE if the function was performed successfully. Output parameter. |
Example
ALPHA(256) |
Directory |
BOOL |
OK |
|
|
* creates the 'c:\temp\test' directory |
|
Directory |
= 'c:\temp\test' |
CALL_DLL |
'VaToolBx' 'VaToolBxCreateDirectory' Directory OK |
IF NOT OK |
|
* Error processing... |
|
END |
|