fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

COLUMN FORMAT DECLARATIONS

Syntax:

[NO] COLUMN FORMAT DECLARATIONS

Function:

Specifies whether or not declaration statements are to be reformatted with every object declared on a single line. This is convenient if the declarations are to be annotated with trailing comments. For example:

INTEGER & NVERT & , NITER & , MAXITER & , IPASS

Trailing comments associated with the declarations of objects in the original source code are transcribed to all declaration statements for those objects in the output code.

Reformatting of the declaration statements may cause single declaration statements to span many lines. The number of continuation lines may be controlled by the command MAXIMUM NUMBER OF CONTINUATION LINES. The declaration statements are then split automatically into separate statements.

The command COLUMN FORMAT is equivalent to the two commands COLUMN FORMAT DECLARATIONS and COLUMN FORMAT CONDITIONALS.

When code is examined interactively it is usually easier to turn column formatting off.

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

NO COLUMN FORMAT DECLARATIONS

(Note that defaults for formatting are usually specified in the configuration file or in formatting .fsp files invoked from it.)

See Also

COLUMN FORMAT

COLUMN FORMAT CONDITIONALS

MAXIMUM NUMBER OF CONTINUATION LINES

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