fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

INCLUDE OUTPUT DIRECTORY

Syntax:

INCLUDE OUTPUT [ FILE ] DIRECTORY [:] <directory>

Function:

Specifies the directory to which the Fortran INCLUDE output files are to be written. The directory to which primary files are written is specified by the command PRIMARY OUTPUT DIRECTORY. The command OUTPUT DIRECTORY specifies a single directory for both primary and INCLUDE files. Files may be directed to the same directories as the input files by the command KEEP OUTPUT DIRECTORIES.

Please note that the listing (.fpl) file and all temporary files used in processing are written to the current directory. This command redirects only the Fortran INCLUDE output files.

Case sensitive Linux and Unix directory names should be enclosed in quotation marks.

The character = may be written instead of : in all contexts EXCEPT on the Windows command line.

The output directory must already exist. It will not be created by fpt.

Directory names are written in the file specifications in INCLUDE statements in response to the command WRITE OUTPUT DIRECTORIES IN INCLUDE STATEMENTS.

Where to Use this Command

Operating system command line Yes
Configuration file, config.fsp Yes
Specification (fsp) files, *.fsp Yes
Interactively, to FPT> prompt Yes
Interactive command files Yes
Embedded in the Fortran code Yes

Default

The current directory.

See Also

KEEP OUTPUT DIRECTORIES

OUTPUT DIRECTORY

PRIMARY OUTPUT DIRECTORY

WRITE OUTPUT DIRECTORIES IN INCLUDE STATEMENTS

Copyright ©1995 to 2024 Software Validation Ltd. All rights reserved.