Toshiba KB-80 사용자 설명서

다운로드
페이지 79
- 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 3
Program 2
CHAIN
CHAIN
Program 1