FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference 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 = n. 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.)

Examples:

%column format declarations ( FSP file )

FPT> col form declarations ( Interactive )

See also:

COLUMN FORMAT

COLUMN FORMAT CONDITIONALS

MAXIMUM NUMBER OF CONTINUATION LINES


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