FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference 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 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

Yes


Default:

TRAILING COMMENTS

(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

SAVE FORMAT

SHOW FORMAT


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