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:
Your source file has the line:
INCLUDE 'ver1/const.h'
Your current working directory is /usr/ftn.
Your source file is /usr/ftn/projA/myprg.f.
In this example, f77 seeks const.h in these directories, in the order shown.
For a standard install, f77 searches these directories:
/usr/ftn/projA/ver1
/usr/ftn/ver1
/opt/SUNWspro/SC5.0/include/f77/ver1
/usr/include
For a non-standard install to a directory /mydir, it searches these directories:
/usr/ftn/projA/ver1
/usr/ftn/ver1
/mydir/SUNWspro/SC5.0/include/f77/ver1
usr/include