PickBASIC / FlashBASICThe %chdir() function changes the current
directory to the one specified in str.
Description
A -1 returned from this function
indicates an error condition.
Example(s)
if %chdir(’/usr/pick’) = -1 then crt ’errno=’:system(0)
If an error occurs, the error message displays from system(0) function.