FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


LOWER CASE

Syntax:

LOWER CASE { SYMBOLS | KEYWORDS | INTRINSICS | OPERATORS | FILENAMES }

UPPER CASE { SYMBOLS | KEYWORDS | INTRINSICS | OPERATORS | FILENAMES }

FILE NAMES AS WRITTEN

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, STATUS 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 DELIMITE 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.

Note that file names are usually converted to lower case when files are moved to Unix systems. It is therefore convenient to specify LOWER CASE FILE NAMES before porting from VMS, Windows or MPX to Unix.

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).

Examples:

In an FSP file:

%UPPER CASE KEYWORDS
%LOWER CASE SYMBOLS

Interactively:

FPT> lower case symbols

See also:

SAVE FORMAT

SHOW FORMAT


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