fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
OUTPUT FILE NAME EXTENSION
Syntax:
OUTPUT {FILE [NAME] | FILENAME } EXTENSION [:] <string>
Function:
Specifies the file name extension for Fortran output files. If this command is made, the same extension is used for both primary files and for INCLUDE files. Different extensions may be specified by the commands PRIMARY OUTPUT FILE NAME EXTENSION and INCLUDE OUTPUT FILE NAME EXTENSION, and this practice is recommended. The extension is written as a string, and may, but need not be preceded by a "." (period) character.
Note that some compilers require that the file name extension is .f or .f90. If the file name extension is the same for the input and output files it is recommended that the output is written to a different directory, specified, 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 | No |
Interactive command files | No |
Embedded in the Fortran code | Yes |
Default
The default is .fpt for primary files and .fpi for INCLUDE files, written in lower case under Linux (Note that defaults may be changed in the configuration file).
Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.