FPT and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Reference Manual Home |
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 |
No |
|
Configuration file, config.fsp |
No |
|
Specification (FSP) files, *.fsp |
No |
|
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 2014 Software Validation Ltd. All rights reserved.