Welcome to jBASE's new documentation site! Many answers to your questions can be found by searching the Knowledgebase or viewing the jBASE Documentation. We also have a Google Group for peer discussion about jBASE. If you are unable to find the information you are looking for, jBASE Support will be glad to assist in resolving your technical problems. Enjoy and please provide comments and feedback .

How can we help you?



The CHDIR function allows the current working directory, as seen by the process environment, to be changed. The function usually takes the form:


Where the expression should evaluate to a valid path name within the file system. The function returns a Boolean TRUE result if the CHDIR succeeded and a Boolean FALSE result if it failed, as illustrated by the results of the code below:

0001     IF CHDIR ("C:\jBASE\CurrentVersion\src") THEN
0002         CRT "jBASE development system INSTALLED"
0003     END
0004     ELSE
0006     END

Go back to jBASE BASIC

Was this article helpful?