FPT and WinFPT Reference Manual - Command-line Commands

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

Example:

   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 2014 Software Validation Ltd. All rights reserved.