next up previous contents
Next: CHARACTER Constants as Arguments Up: Subprograms Previous: FUNCTION statements

   
PROGRAM statements

As has already been stated, any routine that does not begin with a special statement e.g. SUBROUTINE is assumed to be the main routine and is given a default name. The user can explicitly declare a routine to be the main routine and give a name by starting it with a PROGRAM name e.g.
PROGRAM MONTE
declare the main routine to have the name MONTE

n west (APC)
2000-03-08