FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


PRIMARY OUTPUT DIRECTORY

Syntax:

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

Function:

Specifies the directory to which the Fortran primary output files are to be written. The directory to which INCLUDE files are written is specified by the command INCLUDE OUTPUT DIRECTORY. The command OUTPUT DIRECTORYspecifies 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:

are written to the current directory. This command redirects only the Fortran primary output files.

The output directory must already exist. It will not be created by FPT and an error occurs if it is not found.

Where to use this command:

Operating system command line

Yes


Configuration file, config.fsp

No


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:

INCLUDE OUTPUT DIRECTORY

KEEP OUTPUT DIRECTORIES

OUTPUT DIRECTORY

WRITE OUTPUT DIRECTORIES IN INCLUDE STATEMENTS


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