fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

COLUMN FORMAT CONDITIONALS

Syntax:

[NO] COLUMN FORMAT CONDITIONALS

Function:

Specifies whether or not IF, ELSEIF and DO WHILE 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.)

See Also

COLUMN FORMAT

COLUMN FORMAT DECLARATIONS

MAXIMUM NUMBER OF CONTINUATION LINES

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