Statement | Description
MACRO mname par1=val1 ... | begin macro mname
EXEC mname par1 par2=val2 ... | execute macro mname
RETURN | end of a macro
READ par | read macro parameter par from keyboard
SHIFT | control parameters list
label: | label (must terminate with a colon)
GOTO label | jump to label
ON ERROR GOTO label | resume at label on error condition
OF ERROR | temporarily deactivate the ON ERROR GOTO handling
ON ERROR | reactivate the latest ON ERROR GOTO handling
IF logical_expression GOTO label | conditional statement
IF-THEN, ELSEIF, ELSE, ENDIF | Macro flow control
CASE, ENDCASE | Macro flow control
WHILE-DO, ENDWHILE | Macro flow control
REPEAT, UNTIL | Macro flow control
DO, ENDDO | Macro flow control
FOR, ENDFOR | Macro flow control
BREAKL | Macro flow control
EXITM | Macro termination
par = arithmetic_expression | assignment statement