ELSE statement

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


ELSE [ if-construct-name ]

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


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.


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