
B-63943EN-2/01 4.CONVERSATIONAL MACRO FUNCTION AND AUXILIARY MACRO FUNCTION
- 81 -
- M99<Pp> command in the conversational macro main program
Always specify M99<Pp> at the end of the main program.
M99<Pp> in the main program is a special command unlike
subprogram end.
When M99<Pp> is executed in the main program, execution of the
conversational macro temporarily terminates. Then, the following
processing is performed:
1 Determines whether to terminate the conversational macro
function.
When the conversational macro function is executed again after
terminated, executes the conversational macro specified by the
control variable for executing a conversational macro (#8500)
from the beginning regardless of the <Pp> specification.
2 When the value of the control variable for executing a
conversational macro (#8500) is changed, erases both character
and graphic displays, then executes the new conversational
macro. When the value is not changed, repeatedly executes the
same macro without erasing both character and graphic displays.
When <Pp> is specified, starts execution from the block with the
sequence number specified by p.
3 Initializes the local variables to <null>.
- M99<Pp> command in the auxiliary macro main program
Always specify M99<Pp> at the end of the main program.
M99<Pp> in the main program is a special command unlike
subprogram end.
When M99<Pp> is executed in the main program, execution of the
auxiliary macro temporarily terminates. Then, the following
processing is performed:
1 Checks whether the value of the control variable for executing
an auxiliary macro (#8530) is 0. When the value is 0, places
the auxiliary macro function in the wait state.
When the program number of an auxiliary macro is set for the
control variable for executing an auxiliary macro (#8600) again,
executes the specified auxiliary macro from the beginning
regardless of the <Pp> specification.
2 When the value of the control variable for executing an auxiliary
macro (#8530) is changed, executes the new auxiliary macro.
When the value is not changed, repeatedly executes the same
auxiliary macro. When <Pp> is specified, starts execution from
the block with the sequence number specified by p.
3 Initializes the local variables to <null>.