fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

CHECK USAGE

Syntax:

[DO NOT] CHECK [SYMBOL] USAGE

Function:

fpt checks for objects which are:

The following assumptions are made in the check:

Unused Fortran parameters may be excluded from the check by the command NO WARNINGS FOR UNUSED PARAMETERS.

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

No check is made by default (Note that defaults may be changed in the configuration file).

Examples

FPT> check usage Symbol Usage Check ================== Objects which are read but never written to ------------------------------------------- Name Sub-prog/Struct Use/COMMON Address Type Size Bounds ---- --------------- ---------- ------- ---- ---- ------ J SUMCOLS Local INTEGER *4 df --------------------------------------------------------------- Symbol Usage Check Total number of objects read but never written (Errors): 1 --------------------------------------------------------------- No objects are written to but never read No objects are declared but unused.

See Also

CHECK

WARNINGS FOR UNUSED PARAMETERS

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