fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

EDIT SYMBOL NAMES

Syntax:

EDIT SYMBOL NAMES: REPLACE <string> BY <string>

Function:

The specified change is made to the names of all user-defined symbols - i.e. to the names of all variables, sub-programs and other objects. The names generated are required to be unique. If a name clash would occur, the names affected are not changed and a diagnostic is issued.

This command may be used, for example, to remove $ or : characters from names when migrating from VMS and Gould-SEL systems respectively.

Individual symbols may be renamed by the RENAME SYMBOL, RENAME SUB-PROGRAM and RENAME COMMON commands.

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

No change is made by default (Note that defaults may be changed in the configuration file).

See Also

RENAME COMMON

RENAME SUB-PROGRAM

RENAME SYMBOL

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