fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

DELETE UNUSED SUB-PROGRAMS

Syntax:

[DO NOT] DELETE UNUSED SUB-PROGRAMS KEEP UNUSED SUB-PROGRAMS

Function:

The commands EXPAND INLINE and INLINE instruct FPT to expand sub-programs inline.

If all of the calls to a sub-program are expanded inline, the sub-program code may no longer be required to build the program. Unused sub-programs are deleted from the code written by fpt by the command DELETE UNUSED SUB-PROGRAMS. They are not, of course, deleted from the input files.

The command KEEP UNUSED SUB-PROGRAMS instructs fpt to retain the code of all sub-programs, even though there may be no surviving calls to them.

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

KEEP UNUSED SUB-PROGRAMS

(Note that defaults may be changed in the configuration file)

See Also

EXPAND INLINE

INLINE

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