SHELL        

Previous  Next

 

SHELL "program-name"

 


 

Loads and execute another program or batch file. When the program finishes, control returns to the MyBASIC2 program at the statement following the SHELL statement.

 

Example:

 

' List the root directory of the C: drive

 

SHELL "dir c:\ /p"