FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


SHOW NAMES LONGER THAN ...

Syntax:

SHOW NAMES LONGER THAN <integer> CHARACTERS

Function:

FPT displays the names and attributes of all symbols which have names longer than the specified value.

Some systems, e.g. Encore (Gould-SEL) MPX Fortran, ignore the trailing characters of names beyond a certain length. Thus, for example, under MPX, HEADING_WRT_WIND and HEADING_WRT_DECK are actually the same variable, with the internal name HEADING_. The long names may be systematically renamed with the RENAME command.

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


Example:

The command

FPT> show names longer than 8 char

generates the listing:

Symbols with Names Longer than 8
================================

Name      Sub-prog/Struct  Use/COMMON  Address  Type     Size   Bounds/Value
----      ---------------  ----------  -------  ----     ----

HEADING_WRT_SHIP
          DECK             Local                REAL     *4
HEADING_WRT_WIND
          DECK             Local                REAL     *4

See also:

RENAME


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