fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

PRIMARY OUTPUT FILE NAME EXTENSION

Syntax:

PRIMARY OUTPUT {FILE [NAME] | FILENAME } EXTENSION [:] <string>

Function:

Specifies the file name extension for primary output files. The extension is written as a quoted or unquoted string, which may but need not be preceded by a . (period) character. A primary file in this context is a file which is not referenced by an INCLUDE statement. Note that some compilers require that the file name extension is .f. If the output file name extension is the same as the input file name extension it is recommended to redirect the output to a different directory, for example, by the OUTPUT DIRECTORY command.

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 default is .fpt, written in lower case under Linux (Note that defaults may be changed in the configuration file).

See Also

INCLUDE OUTPUT FILE NAME EXTENSION

OUTPUT DIRECTORY

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