ENDIF Directive
The ENDIF directive terminates the IF directive. Each IF directive
requires an ENDIF, and vice-versa.
Syntax
$ENDIF
Default None.
Location The ENDIF directive must be the only directive that
appears on the line. It may appear after the last
FORTRAN END statement.