fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
SHOW UNUSED FILES
Syntax:
SHOW UNUSED [PRIMARY] FILES SHOW UNUSED SUB-PROGRAMS
Function:
These two commands are equivalent. They are made interactively; the information displayed is always written to the listing (.fpl) file.
fpt displays a list of all sub-programs which are not called, directly or indirectly from any main program. It then displays the list of primary files which do not contain any sub-programs which are called, directly or indirectly, from any main program.
If no main program has been read, no lists are generated.
Where to Use this Command
| Operating system command line | Yes |
| Configuration file, config.fsp | No |
| Specification (fsp) files, *.fsp | Yes |
| Interactively, to FPT> prompt | Yes |
| Interactive command files | Yes |
| Embedded in the Fortran code | No |
Example
FPT> show unused files Unused sub-programs ------------------- F3 OPERS S060 Unused primary files -------------------- E:\JOHN\FPT\FPTTESTS\OPERS.FOR E:\JOHN\FPT\FPTTESTS\S060.FOR
Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.