fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

MAXIMUM INDENTATION NESTING LEVEL

Syntax:

MAXIMUM INDENTATION NESTING LEVEL [:] <string>

Function:

fpt indents code to indicate:

The INDENT directive specifies the number of spaces by which code is indented for each level of nesting.

The MAXIMUM INDENTATION NESTING LEVEL directive specifies the number of levels (not the number of spaces) which are marked by indenting the code. The maximum number of spaces may be set by the command MAXIMUM NUMBER OF SPACES TO INDENT

The MAXIMUM INDENTATION NESTING LEVEL value is displayed by the SHOW FORMAT command and saved to a 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 = 3 MAXIMUM INDENTATION NESTING LEVEL = 8

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

See Also

INDENT

MAXIMUM NUMBER OF SPACES TO INDENT

SAVE FORMAT

SHOW FORMAT

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