HP 3000 Manuals

INCLUDE Statement (Nonexecutable) [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation


HP FORTRAN 77/iX Reference

INCLUDE Statement (Nonexecutable) 

The INCLUDE statement is a MIL-STD-1753 extension to the ANSI 77
standard.  It causes the compiler to include and process subsequent
source statements from a specified file or device.  When end-of-file is
read from this file or device, the compiler continues processing at the
line following the INCLUDE statement.

[]
----------------------------------------------------------------------------------------------- | | | | | Item | Description/Default | Restrictions | | | | | ----------------------------------------------------------------------------------------------- | | | | | name | File name. | None. | | | | | ----------------------------------------------------------------------------------------------- INCLUDE statements cannot be continued. Include files can be nested nonrecursively; that is, an INCLUDE statement cannot mention an active include file. The maximum number of include files that can be open at one time is eight. Line numbering within the listing of an included file begins with one. A plus sign is displayed just to the left of the line number in the include file. When the included file listing ends, the include level decreases appropriately and the previous line numbering resumes. Files may also included with a compiler directive. Refer to "INCLUDE Directive" for more information. Example INCLUDE 'specs'


MPE/iX 5.0 Documentation