FORTRAN 77 Language Reference


Example 1: INCLUDE, simple case:

       INCLUDE 'stuff'

The above line is replaced by the contents of the file stuff.

Example 2: INCLUDE, search paths:

For the following conditions:

In this example, f77 seeks const.h in these directories, in the order shown.

For a standard install, f77 searches these directories:

For a non-standard install to a directory /mydir, it searches these directories: