FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


INDENT LABELS

FPT version:

This command was first implemented in FPT version 3.3-h.

Syntax:

INDENT LABELS [BY] [:] <integer> COLUMNS

Function:

This command specifies the indentation applied to statement labels.

In fixed and tab format code, labels are written after the specified column unless they would then extend into or beyond column 6. They are then right justified in columns 1 to 5.

In free format, labels start after the specified column. They are not indented to the nesting level of the code.

The value is displayed by the SHOW FORMAT command and saved to an FSP file by the SAVE FORMAT command.

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:

INDENT LABELS BY 0 COLUMNS

(Note that defaults may be changed in the configuration file)

See also:

INDENT COMMENTS

INDENT CONTINUATION LINES

INDENT EACH LEVEL OF NESTING

INDENT SUB-PROGRAM CODE

MAXIMUM INDENTATION NESTING LEVEL

SAVE FORMAT

SHOW FORMAT


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