The INCLUDE line causes text in a separate file to be processed as if the text replaced the INCLUDE line. The INCLUDE line is not a Fortran statement.
Syntax
INCLUDE filespecWhere:filespec is a CHARACTER literal constant that corresponds to a path and
file that contains source text to replace the INCLUDE line.
The INCLUDE line must be the only non-blank text on this source line other than an optional trailing comment. A statement label or additional statements are not allowed on the line.
The include line is processed by the compiler, not by a preprocessor.
Example
include "types.for" ! include a file named types.for ! in place of this INCLUDE line