ChangeDir Function

Change current working directory to that specified by argument.

Arguments

Number Type Compulsory Default Description
1 string Yes New directory

Returns

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)