
4.CONVERSATIONAL MACRO FUNCTION AND AUXILIARY MACRO FUNCTION B-63943EN-2/01
- 80 -
4.3 EXECUTION CONTROL CODE
The following control codes are available for controlling execution.
These control codes can be specified in conversational macros and
auxiliary macros.
G65: Macro call
M98: Subprogram call
M99: Program end
Macro call (G65)
- Format
G65 Pp <Ll> <argument-specification> ;
p : Program number of a P-CODE macro to be called
l : Repetition count (1 by default)
argument : Data to be passed to the P-CODE macro. (Argument
specifications I and II are available.)
Specify G65 before any argument.
Macro calls can be nested to a depth of fifteen levels including only
macro calls or to a depth of fifteen levels including subprogram calls
and macro calls.
Subprogram call (M98)
- Format
M98 Pp <Ll> ;
p : Program number of a P-CODE macro to be called
l : Repetition count (1 by default)
Subprogram calls can be nested to a depth of fifteen levels including
only subprogram calls or to a depth of fifteen levels including
subprogram calls and macro calls.
Program end (M99<Pp>)
- Format
M99 <Pp> ;
p: Sequence number of the calling P-CODE macro
(By default, control is returned to the block following the call
command in the calling macro.)