- This wiki is out of date, use the continuation of this wiki instead
Chdir
From FenixWiki
Contents |
Definition
INT ChDir ( <STRING directoryname> )
Sets the current path of execution.
Parameters
STRING directoryname | - The name of the directory to be entered from the current path of execution or a new path of execution. |
Returns
INT : Success
0 (false) | - Setting of current path of execution failed. |
1 (true) | - Setting of current path of execution succeeded. |
Example
Program example; Begin say(CD()); ChDir(".."); say(CD()); Loop frame; End End