User and Reference Guide for the Intel® Fortran Compiler 14.0

Main Program

A main program is a program unit whose first statement is not a SUBROUTINE, FUNCTION, MODULE, or BLOCK DATA statement. Program execution always begins with the first executable statement in the main program, so there must be exactly one main program unit in every executable program. For more information, see PROGRAM.


Submit feedback on this help topic