5.SYMBOLIC MACRO PROGRAM B-66264EN/01
- 28 -
CAUTION
When only a single macro statement is to be
executed, the macro statement can be specified
immediately after THEN/ELSE. In this case, no
ENDIF statement is usually required. However, an
ENDIF statement is required when IF [...] THEN
Macro-st ; is specified just before ELSE or ENDIF
of the previous nesting as shown below:
IF[...] THEN ;
IF [...] THEN Macro-st ;
IF [...] THEN Macro-st ;
ENDIF ; ← The ENDIF line is required
ELSE ; because is specified just
before ELSE or ENDIF of
the previous nesting.
IF [...] THEN Macro-st ;
IF [...] THEN Macro-st ;
ENDIF ; ← The ENDIF line is required
ENDIF ; because is specified just
before ELSE or ENDIF of
the previous nesting.