Table of Structured Programming Commands
en-938872/2 A - 1
A
Appendix A Table of Structured Programming
Commands
EXIT: Exit from a loop (see 1.2.6)
Syntax:
EXIT
FOR: Loops with control variable (see 1.2.5)
Syntax:
FOR (variable) = (expression 1) TO/DOWNTO (expression 2) BY (value) DO
(instructions)
ENDF
IF: Conditional execution of instructions (see 1.2.2)
Syntax:
IF (condition) THEN
(instructions 1)
ELSE
(instructions 2)
ENDI
REPEAT: REPEAT UNTIL loops (see 1.2.3)
Syntax:
REPEAT
(instructions)
UNTIL (condition)
WHILE: WHILE loops (see 1.2.4)
Syntax:
WHILE (condition) DO
(instructions)
ENDW