fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

STRING DELIMITERS AS WRITTEN

Syntax:

STRING DELIMITERS AS WRITTEN CHANGE STRING DELIMITER [TO] { SINGLE QUOTE | DOUBLE QUOTE | UP ARROW }

Function:

fpt reads Fortran code in which the string delimiters may be a single quotes, double quotes or an up arrows. The string delimiters in the output code may match those in the input, or may be changed systematically. The commands are:

STRING DELIMITERS AS WRITTEN

CHANGE STRING DELIMITER TO SINGLE QUOTE

CHANGE STRING DELIMITER TO DOUBLE QUOTE

CHANGE STRING DELIMITER TO UP ARROW

Note that single quotes are accepted by nearly all Fortran implementations. Double quotes are accepted under Fortran 90 and by some earlier systems, but are not accepted by older versions of VMS. Older VMS compilers use a double quote to introduce an octal number. Up arrow is used as a string delimiter by CDC compilers.

Where To Use These Commands

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

STRING DELIMITERS AS WRITTEN

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