fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

FREE FORMAT OUTPUT

Syntax:

FREE FORMAT [OUTPUT]

Function:

fpt can write code in Fortran 77 fixed format, in extended Fortran 77 tab format or in Fortran 90 free format. For a description of TAB format, please see the TAB FORMAT command.

The FREE FORMAT command instructs fpt to write code in Fortran 90 free format. The detailed layout is controlled by the commands:

INDENT CONTINUATION LINES
INDENT EACH LEVEL OF NESTING
INDENT HEADERS
INDENT LABELS
INDENT SUB-PROGRAM CODE
OUTPUT CODE LINE LENGTH
WRITE CONTINUATION CHARACTER IN COLUMN

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

FIXED FORMAT

(Note that FREE FORMAT, TAB FORMAT or FIXED FORMAT is usually specified in a format file referenced from the configuration file). Free format is recommended for all new Fortran development, but the default has been retained for compatibility with earlier fpt versions.

See Also

INDENT CONTINUATION LINES
INDENT EACH LEVEL OF NESTING
INDENT HEADERS
INDENT LABELS
INDENT SUB-PROGRAM CODE
OUTPUT CODE LINE LENGTH
WRITE CONTINUATION CHARACTER IN COLUMN
SAVE FORMAT
TAB FORMAT OUTPUT

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