FPT and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Reference Manual Home |
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 Unix 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 that the output is redirected 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 Unix (Note that defaults may be changed in the configuration file).
Example:
$ fpt stats anova ind "%primary output filename extension:'.f'"
See also:
INCLUDE OUTPUT FILE NAME EXTENSION
Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.