FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


REFORMAT HEADER

Syntax:

[ DO NOT ] FORMAT HEADER [ COMMENTS ]

[ 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:

Indentation of all comments may be enabled or suppressed by the command 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 REFORMAT 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.