Routines can either be Fortran90 subroutines, functions or main programs which are not part of a module (for routines inside a module use !IROUTINE:.
! Last update: 28Jun97 (ams) ! ! Use !ROUTINE for your usual subroutine/functions (read: not internal) ! !------------------------------------------------------------------------- ! NASA/GSFC, Data Assimilation Office, Code 910.3, GEOS/DAS ! !------------------------------------------------------------------------- !BOP ! ! !ROUTINE: ! ! !INTERFACE: ! ! !USES: ! ! !INPUT PARAMETERS: ! ! !OUTPUT PARAMETERS: ! ! !DESCRIPTION: ! ! !BUGS: ! ! !SEE ALSO: ! ! !SYSTEM ROUTINES: ! ! !FILES USED: ! ! !REVISION HISTORY: ! ! 27Jun97 Jim Becile Initial code. ! !EOP !------------------------------------------------------------------------- !BOC !EOC
It is appropriate to add the BOC and EOC markers to indicate the code section, however this is not obligatory.