Change current working directory to that specified by argument.
Number | Type | Compulsory | Default | Description |
---|---|---|---|---|
1 |
string |
Yes |
|
New directory |
Return type: real
Return value is a code indicating the success of the function:
Code | Meaning |
---|---|
0 | Success |
1 | Cannot create directory |
2 | Invalid disk (windows) |
|