fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref 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 | No |
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
Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.