fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
TRAILING COMMENTS
Syntax:
[NO] TRAILING COMMENTS
Function:
Specifies whether trailing comments in the original code are to be left in place or converted to line comments. Some legacy compilers do not accept trailing comments.
The state of this command is displayed by the SHOW FORMAT command and is saved by the SAVE FORMAT command.
C language style trailing comments, introduced by the characters /* are converted to standard trailing comments by the command CHANGE TRAILING COMMENT DELIMITER TO EXCLAMATION.
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 | No |
Default
Trailing comments are left in place by default.
(Note that defaults for formatting are usually specified in a formatting .FSP file invoked from the configuration file).
See Also
CHANGE TRAILING COMMENT DELIMITER TO EXCLAMATION
Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.