Toshiba KB-80 Computer Keyboard User Manual


 
- 12 -
CHAIN
Function Loads another program, and executes it.
Format CHAIN <file designation> [, ALL]
Term <file designation>: The program file to be executed should be specified.
(The file name should be included.)
Explanation The program designated in <file designation> is executed.
If the ALL option is designated, all variables are passed. If it is necessary to pass
variables when the ALL option is omitted, the COMMON statement should be used.
CHAIN ”PROG2”, ALL
The CHAIN statement holds any file which has already been opened as is.
Program 3Program 2
CHAINCHAIN
Program 1