fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

RENAME DUPLICATE SUB-PROGRAMS

Syntax:

[DO NOT] RENAME DUPLICATE SUB-PROGRAMS
[DO NOT] CHANGE NAMES OF DUPLICATE SUB-PROGRAMS

Function:

If fpt encounters two or more copies of the same top-level sub-program, the second and subsequent sub-programs may be renamed by appending _2, _3 etc. to the original name. If necessary, the names are shortened to remain within the name length permitted on the target system (See the command MAXIMUM LENGTH OF NEW NAMES).

Note that renaming only affects top-level sub-programs. Module and internal sub-programs are not renamed.

RENAME DUPLICATE SUB-PROGRAMS enables or disables this renaming. Renaming of the sub-programs does not affect their recognition for the COMPARE VERSIONS 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

See Also

COMPARE VERSIONS

MAXIMUM LENGTH OF NEW NAMES

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