
B–62093E–1/02
4. CONVERSATIONAL MACRO FUNCTION
AND AUXILIARY MACRO FUNCTION
PROGRAMMING
45
The following control codes are prepared for execution control.
M98 : Macro subprogram call
M99 : Macro subprogram end
(1) Macro subprogram call (M98)
M98 Pp ;
A macro subprogram specified by address P is called. Frequency of
calling the macro subprogram shall be up to quadruple.
(2) Macro subprogram end (M99)
M99 Pp ;
When command is done in the c lled subprogram, the calling program will
be restored. When the address P is specified, the block of the sequence
No. specified at P of the calling program will be restored.
Command M99 without fail at the end of the main program. The
command of M99 in the main program is explained below.
When M99 is commanded in the main program, execution of the
conversational macro function is finished once.
Once execution of the conversational macro function is started, the screen
will not change over to the function key is depressed until execution of
the conversational macro function ends at M99. Accordingly, it is
necessary to command M99 at the end of the main program.
When the function key is depressed during the execution of the
conversational macro program, character display will be erased after the
conversational macro program ends, and a corresponding screen will take
place. When the function key
CUSTOM
is depressed again, the execution of
the conversational macro program will be started according to the value
of the conversational macro execution control variable #8500. At this
time, the program will be executed from the beginning regardless of the
command of the address P.
When M99 is executed, the value of the conversational macro execution
control variable #8500 will be checked. When the value of #8500 is
rewritten, character display will be erased and the control will be
transferred to a new conversational macro program. If not, the character
display will be erased, and execution of the same conversational macro
program will be repeated. In this case, when the address P is commanded,
execution will be started at the block of the sequence No. specified at P.
4.3
EXECUTION
CONTROL CODE