FORTRAN 77 Language Reference


The END statement:

In a main program, an END statement terminates the execution of the program. In a function or subroutine, it has the effect of a RETURN. @

In the FORTRAN 77 Standard, the END statement cannot be continued, but f77 allows this practice. @

No other statement, such as an END IF statement, can have an initial line that appears to be an END statement.