Fortran End

Indicates the end of a function, subroutine, module, block data program unit, main program, or interface block. If the name of the unit appears in the end statement, the reference kinds are End and Endby. If the name does not appear, the kinds are End Unnamed and End Unnamedby.

PROGRAM MAIN 
   ... 
END PROGRAM MAIN 
 
SUBROUTINE SUB 
   ... 
END SUBROUTINE
Reference Kind
Entity Performing Reference
Entity Being Referenced
Fortran End
MAIN
MAIN
Fortran EndBy
MAIN
MAIN
Fortran End Unnamed
SUB
SUB
Fortran EndBy Unnamed
SUB
SUB
 

Scientific Toolworks, Inc.
http://www.scitools.com