fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

CHANGE COMMENT

Syntax:

CHANGE COMMENT [:] <string>
NO CHANGE COMMENT

Function:

The specified comment is inserted after every line modified by a systematic change command (such as CHANGE SELECT CASE TO IF - THEN - ELSE, or CHANGE DO - UNTIL TO DO - WHILE). The comment is written as a delimited string, and must begin with a legal line comment delimiter.

Explicit marking of changes in the code is required by some Q.A. regimes.

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

NO CHANGE COMMENT

(Note that defaults may be changed in the configuration file).

Examples

fpt> change comment: "! R. Hastings, 22-Feb-97, by fpt" fpt> change select case to if-then-else

Modifies code, for example:

! SELECT CASE IC0 !------------------^------------------------------------------ !!! FPT - 2287 CASE construct replaced by IF-THEN-ELSE ! R. Hastings, 22-Feb-97, by fpt !-------------------------------------------------------------

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