Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Fortran Compiler for HP-UX: HP Fortran Programmer's Reference > Chapter 2 Language elements

Program structure

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

A complete executable Fortran program contains one and only one main program unit and may also contain one or more of the following other types of program units:

  • External function subprogram unit

  • External subroutine subprogram unit

  • Block data program unit

  • Module program unit

Each program unit can be compiled separately. Execution of the program starts in the main program. Control may be passed to other program units.

The Fortran 90 program units, and the transfer of control between them, are described in Chapter 7 “Program units and procedures”.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.