fpt and WinFPT Reference Manual - Command-line Commands
| SimCon Home | Ref Manual Home |
SHOW FILES
Syntax:
SHOW FILES
Function:
The command is used interactively. It lists the files which have been read by fpt. The complete input file specification, and the corresponding output file name are shown for each file.
Note that the input files are also listed in the fpt list (fpl) file.
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 |
Examples
The example program wumpus, analysed under Linux:
FPT> show files Fortran Files ============= Primary file. Read as: /home/john/projects/WinFPT/fpt/fpttest/wumpus/original_source/wumpus/cavnum.f Written as: ../fpt_output/wumpus/cavnum.f90 Primary file. Read as: /home/john/projects/WinFPT/fpt/fpttest/wumpus/original_source/wumpus/inipos.f Written as: ../fpt_output/wumpus/inipos.f90 Primary file. Read as: /home/john/projects/WinFPT/fpt/fpttest/wumpus/original_source/wumpus/input.f Written as: ../fpt_output/wumpus/input.f90 Primary file. Read as: /home/john/projects/WinFPT/fpt/fpttest/wumpus/original_source/wumpus/intro.f Written as: ../fpt_output/wumpus/intro.f90 Primary file. Read as: /home/john/projects/WinFPT/fpt/fpttest/wumpus/original_source/wumpus/move.f Page> Written as: ../fpt_output/wumpus/move.f90 Primary file. Read as: /home/john/projects/WinFPT/fpt/fpttest/wumpus/original_source/wumpus/passag.f Written as: ../fpt_output/wumpus/passag.f90 Primary file. Read as: /home/john/projects/WinFPT/fpt/fpttest/wumpus/original_source/wumpus/play.f Written as: ../fpt_output/wumpus/play.f90 Primary file. Read as: /home/john/projects/WinFPT/fpt/fpttest/wumpus/original_source/wumpus/shoot.f Written as: ../fpt_output/wumpus/shoot.f90 Primary file. Read as: /home/john/projects/WinFPT/fpt/fpttest/wumpus/modified_source/wumpus/wumpus.f Written as: ../fpt_output/wumpus/wumpus.f90 Include file. Read as: /home/john/projects/WinFPT/fpt/fpttest/wumpus/original_source/wumpus/ints.inc Written as: ../fpt_output/wumpus/ints.i90 Primary file. Written as: ../fpt_output/wumpus/fpt_module_kinds.f90 Primary file. Written as: ../fpt_output/wumpus/module_ints.f90
Note that fpt has listed the two files created in the fpt pass for which there were no corresponding input files.
A small program analysed under VMS:
FPT> show files Fortran Files ============= Primary file. Read as: DKA300:[JON.TEST]T.FOR;9 Written as: T.FPT Include file. Read as: DKA300:[JON.TEST]R1.INC;1 Written as: R1.FPI FPT>
Copyright ©1995 to 2025 Software Validation Ltd. All rights reserved.