(Corresponds to Section 3.5 of ANSI X3.9-1978 FORTRAN 77.)
DATA statements may precede executable statements.
However, specification statements pertaining to any entities
initialized by a
DATA statement must precede that
INTEGER I is not permitted, but
INTEGER J is permitted.
The last line of a program unit may be an
or may be:
END PROGRAMstatement, if the program unit is a main program.
END SUBROUTINEstatement, if the program unit is a subroutine.
END FUNCTIONstatement, if the program unit is a function.
END BLOCK DATAstatement, if the program unit is a block data.