extended-if-statement = IF expression THEN [ block ]
{ ELSEIF expression THEN [ block ] }
[ ELSE block ] .
ELSIF is implemented in some Pascal-Like languages such as MODULA or OBERON.
It is implemented in PMP as an "extended syntax". If the "Extended syntax" project's option is not active it will produce a compilation error.
To normalize with the $ELSIF/$ELSEIF conditional compilation directives, ELSIF/ELSEIF are true synonyms in PMP.
The number of ELSEIF statements is not limited.
The same behaviors as for the IF statement apply;