FPT and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Reference Manual Home |
Syntax:
STRING DELIMITERS AS WRITTEN CHANGE STRING DELIMITER [TO] { SINGLE QUOTE | DOUBLE QUOTE | UP ARROW } |
Function:
FPT reads Fortran code in which the string delimiter may be a single quote, a double quote or an up arrow. 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 by Fortran 90, by the Salford FTN77 compiler, and by some other systems, but are not accepted by VMS. VMS uses a double quote to introduce an octal number. Up arrow is used as a string delimiter by CDC compilers.
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 AS WRITTEN
Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.