FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


CHANGE STRING DELIMITER

Syntax:

CHANGE STRING DELIMITER [TO] SINGLE QUOTE

CHANGE STRING DELIMITER [TO] DOUBLE QUOTE

CHANGE STRING DELIMITER [TO] UP ARROW

DO NOT CHANGE STRING DELIMITER

STRING DELIMITERS AS WRITTEN

Function:

Changes the string delimiter systematically throughout the program.

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:

String delimiters are not changed by default. (Note that defaults may be modified in the configuration file).

Example:

FPT> type 122:124
 
  122      !    Report the problem
  123 >>        WRITE (6,"("" Depth out of range:"",F12.4)")DP
  124           DP=DP0
 
FPT> change str delim to single quote
FPT> t 122:124
 
  122      !    Report the problem
  123 >>        WRITE (6,'('' Depth out of range:'',F12.4)')DP
  124           DP=DP0


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