Explanation
CHAIN Statement
Transfers control from the current program to another Basic program.Worth knowing
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
Useful and cross-version information about the programming environments of QBasic, QuickBasic and Visual Basic for DOS.
CHAIN filespec$ |
filespec$ | The name of the program to which control is passed. |
'Assumes the program TEST.BAS is in a \DOS directory.
CHAIN "C:\DOS\TEST.BAS"