FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


FORMAT HEADER COMMENTS

Syntax:

[ DO NOT ] FORMAT HEADER [ COMMENTS ]

[ DO NOT ] INDENT HEADER [ COMMENTS ]

[ DO NOT ] INDENT HEADERS

[ DO NOT ] REFORMAT HEADER [ COMMENTS ]

Function:

Controls whether or not FPT reformats header comments in the same way as comments within the code body of a file. Header comments are considered to be all comments written before the first statement in a file which is not an OPTIONS, PROGRAM, BLOCK DATA SUBROUTINE, FUNCTION or MODULE statement.

By default, comments within the body of a file are indented to the same level as the code according to the following rules:

The commands REFORMAT HEADER COMMENTS, INDENT HEADER COMMENTS and INDENT HEADERS are synonyms for FORMAT HEADER COMMENTS .

Indentation of all comments may be suppressed by the command DO NOT INDENT COMMENTS

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:

DO NOT FORMAT HEADER COMMENTS

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

See also:

INDENT COMMENTS


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