Lahey/Fujitsu Fortran

PROGRAM Statement

Description

The PROGRAM statement signals the beginning of a main program unit.

Syntax

PROGRAM program-name
Where:

program-name is the name given to the main program.

Remarks

program-name is global to the entire executable program. It must not be the same as the name of another program unit, external procedure, or common block in the executable program. It may not be the same as any local name in the main program.

Example

program zyx ! code goes here end program zyx