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.
filespec is a CHARACTER literal constant that corresponds to a path andfile 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.
Exampleinclude "types.for" ! include a file named types.for ! in place of this INCLUDE line