fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref 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
Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.