FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


COLUMN FORMAT CONDITIONALS

Syntax:

[NO] COLUMN FORMAT CONDITIONALS

Function:

Specifies whether or not IF and ELSEIF statements with more than one logical sub-expression are reformatted in columns, with parentheses at the same nesting level aligned vertically. For example (in free format):

IF ( ( ( ch .GE. 'A' ) .AND. & ( ch .LE. 'Z' ) ) .OR. & ( ( ch .GE. 'a' ) .AND. & ( ch .LE. 'z' ) ) .OR. & ( ch .EQ. '_' ) .OR. & ( ch .EQ. '$' ) ) THEN

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 CONDITIONALS

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

Examples:

%column format conditionals ( FSP file )

FPT> no col form conditionals ( Interactive )

See also:

COLUMN FORMAT

COLUMN FORMAT DECLARATIONS

MAXIMUM NUMBER OF CONTINUATION LINES


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