2.14.7
Control Commands
The following
two
commands control the
macroprogram
flow.
•
Branch command
IF
[{conditional
expression)]
GOTO
(sequence
No.)
:
•
Repetition
command
WHILE
[(conditional
expression))
DO
(No.)
:
l
END
(No.)
:
DO
(No.) ;
END
(No.)
:
(1)
Branch command
IF
[(conditional
expression)] GOTO (sequence
No.)
:
When this command is
issued,
control
jumps to
the block of the
specified sequence
No. in the
same
program
when
(conditional
expression)
is satisfied.
If
(conditional
expression)
is
not
satisfied, control advances
to
the
next
block.
(sequence
No.)
: 5-digit integer,
variable, or
[(expression))
*
1 F
(
'CONDITIONAL KXI'KESSION
•)
GOTO
•.
SEQUENCE NO.
' .
NOT
s
SATISFIED
5
p
55
N
•:
SEQUENCE NO.:-
Fig.
2.14.6 Branch Command
-
289
-