FPT Reference Manual - Command-line Commands
Syntax:
|
[DO NOT] INDENT COMMENTS COMMENTS AS WRITTEN |
Function:
The command INDENT COMMENTS instructs FPT whether or not to indent line comments to the same column as the Fortran code, according to the following rules:
These commands do not change the indentation of comments in the file header. Indentation of header comments is controlled by the command [DO NOT] INDENT HEADER COMMENTS. The file header consists of comment and blank lines which precede the first code statement in a file other than an OPTIONS, PROGRAM, BLOCK DATA, SUBROUTINE, FUNCTION or MODULE statement.
The command COMMENTS AS WRITTEN or DO NOT INDENT COMMENTS instruct FPT to transcribe line comments to the same columns as in the original source, regardless of the indentation of the code.
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 COMMENTS
(Note that defaults may be changed in the configuration file).
Copyright ©1995 to 2012 Software Validation Ltd. All rights reserved.