Syntax:
>>-.---.--IMPLICITSCOPE------------><
+-/-+
Properties:
Default: |
IMPLICITSCOPE |
Phase: |
Syntax check |
$SET: |
Any |
Example:
IF ITEM-1 > 10
MOVE 10 TO ITEM-2
PERFORM ITEM-3 TIMES
ADD 1 TO ITEM-3
ELSE
IF ITEM-1 > 20
MOVE 20 TO ITEM-2
ELSE
MOVE 0 TO ITEM-2.
MOVE 4 TO ITEM-3
The ELSE ends the scope of the inline PERFORM, and the period ends the scope of all statements, which in this case is the two IF statements.
Comments:
You will need to set WARNINGS(3) to make the messages appear.