FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference 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

No


Default:

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

Example:

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 2014 Software Validation Ltd. All rights reserved.