fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

SHOW LOGICAL UNITS

Syntax:

[DO NOT] SHOW LOGICAL UNITS [DO NOT] SHOW LUNS

Function:

fpt lists the logical units used in numerical order, and shows, for each, the I/O statements and auxiliary I/O keywords with which they are used. Fortran parameters are included in the list ordered by their values. Variables used for logical units are listed alphabetically after the constant units.

A count of the different types of I/O statements is also reported.

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

Example

FPT> show luns Usage of FORTRAN Logical Units ============================== Logical Unit: 1 --------------- WRITE, TYPE, PRINT and DISPLAY, number of occurrences: 15, Keywords: (fmt=...) OPEN, number of occurrences: 1, Keywords: (carriagecontrol='list', file=..., status='new') Logical Unit: 2 --------------- READ and ACCEPT, number of occurrences: 7, Keywords: (fmt=...) OPEN, number of occurrences: 1, Keywords: (action='read', file=..., status='old') Units which are run-time variables ---------------------------------- Symbol(s): Name Sub-prog/Struct Use/COMMON Address Type Size Value/Bounds ---- --------------- ---------- ------- ---- ---- I1 IOTEST Local INTEGER *4 df READ and ACCEPT, number of occurrences: 1, Keywords: (fmt=...) WRITE, TYPE, PRINT and DISPLAY, number of occurrences: 1, Keywords: (fmt=...) Total Counts of External I/O Statements ======================================= READ and ACCEPT 11 REWRITE 0 WRITE, TYPE, PRINT and DISPLAY 22 BACKSPACE 0 CLOSE 0 DELETE 0 ENDFILE 0 OPEN 3 REWIND 0 UNLOCK 0

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