ELSE statement

Standard: (F77) F90 F95 F2003 F2008 F2018 Example program


<Syntax>

ELSE [ if-construct-name ]

The if-construct-name may appear only if the corresponding IF-THEN statement is named.

<Semantics>

The ELSE statement introduces the ELSE block of an IF construct. The ELSE block is executed if and only if no other block of the IF construct is executed.

<Related>

ELSE IF statement, END IF statement, IF statement, IF construct, IF THEN statement