FPT and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Reference Manual Home |
Syntax:
UPPER CASE { SYMBOLS | KEYWORDS | INTRINSICS | OPERATORS | FILENAMES } UPPER CASE SYMBOLS WITH WRITE ACCESS UPPER CASE SYMBOLS WITH READ ACCESS
LOWER CASE ... FILE NAMES AS WRITTEN DEFAULT CASE SYMBOLS WITH { WRITE | READ } ACCESS |
Function:
Specifies the case in which the named objects will be written in the code output by FPT.
SYMBOLS are user-defined symbols such as variable and sub-program names.
KEYWORDS are Fortran keywords, such as REAL, IF, OPEN, UNIT etc.
INTRINSICS are intrinsic function names such as SIN, COS, %VAL etc.
OPERATORS are .AND., .XOR. etc. and the literals .TRUE. and .FALSE.
FILE NAMES or FILENAMES are the names written in INCLUDE statements.
To change the case of the comment delimiter please use the command:
CHANGE COMMENT DELIMITER TO: <string>
The current format rules are displayed by the command SHOW FORMAT and are saved in the form of a FSP file by the command SAVE FORMAT.
The commands
UPPER CASE SYMBOLS WITH WRITE ACCESS
UPPER CASE SYMBOLS WITH READ ACCESS
may be used to mark objects which are read or written to in the code. This is particularly useful when examining sub-program arguments.
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:
UPPER CASE
- except for file names, where the default is FILE NAMES AS WRITTEN (Note that the default cases are usually set in the configuration file).
See also:
Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.