fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

FORTRAN

Syntax:

[NO] FORTRAN [DO NOT] OUTPUT FORTRAN [CODE] [DO NOT] WRITE FORTRAN [CODE]

Function:

Controls whether or not fpt writes Fortran output files.

Note that the command CHECK (but not the commands CHECK NAMES, CHECK ARGUMENTS etc.) implies NO FORTRAN. If Fortran output is required after a screening check it should be specified explicitly.

Fortran output is not written if the user halts processing with the QUIT command.

By default, the Fortran output files are written to the current directory. They may be re-directed by the commands OUTPUT DIRECTORY, PRIMARY OUTPUT DIRECTORY, INCLUDE OUTPUT DIRECTORY, and KEEP OUTPUT DIRECTORIES.

When fpt is run interactively, it prompts the user to write the Fortran output on exit.

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

Fortran files are written by default. (Note that defaults may be changed in the configuration file)

Examples:

Command line use:

$ fpt ssme.fsp %check %fortran

Suppression of Fortran output in interactive mode:

FPT> common listing FPT> no fortran FPT> exit

See Also

INCLUDE OUTPUT DIRECTORY

OUTPUT DIRECTORY

PRIMARY OUTPUT DIRECTORY

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