fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
INCLUDE INPUT FILES FROM PRIMARY DIRECTORIES
INCLUDE INPUT FILES FROM PRIMARY [INPUT] DIRECTORY INCLUDE INPUT FILES FROM PRIMARY [INPUT] DIRECTORIES
Specifies that INCLUDE files are to be sought in the same directories as the primary files. The primary directory is used if no directory is written explicitly in the INCLUDE statement, or if IGNORE DIRECTORIES IN INCLUDE STATEMENTS has been specified.
The command INPUT DIRECTORY specifies the default input directory for both primary and INCLUDE files. The commands PRIMARY INPUT DIRECTORY and INCLUDE INPUT DIRECTORY specify separate input directories for primary files and for INCLUDE files. The command INCLUDE INPUT SEARCH PATH specifies a sequence of directories which will be searched in turn for INCLUDE files.
These commands are position sensitive in the command line or specification files in which they are written. They apply to the files which follow them, and a list of Fortran files may contain several different INCLUDE file directory specifications.
Where to Use this Command
|Operating system command line||Yes|
|Configuration file, config.fsp||Yes|
|Specification (fsp) files, *.fsp||Yes|
|Interactively, to FPT> prompt||No|
|Interactive command files||No|
|Embedded in the Fortran code||No|
By default, INCLUDE files are sought in the current directory (Note that defaults may be changed in the configuration file).
PRIMARY INPUT DIRECTORY
INCLUDE INPUT DIRECTORY
INCLUDE INPUT SEARCH PATH
Copyright ©1995 to 2022 Software Validation Ltd. All rights reserved.