CASE DEFAULT statement

Standard: F77 F90 F95 F2003 F2008 F2018 Example program


<Syntax>

CASE DEFAULT [ construct-name ]

The construct-name shall appear if and only if the SELECT CASE statement is named.

<Semantics>

Marks the beginning of a CASE DEFAULT part (and the end of any preceding CASE part). Statements in this part are executed if and only if the corresponding SELECT expression does not satisfy any of the other CASE conditions in the construct.

<Related>

CASE construct, CASE statement, END SELECT statement, SELECT CASE statement