fpt and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Ref Manual Home |

CHECK PARAMETER VALUES

Syntax:

[DO NOT] CHECK PARAMETER VALUES [DO NOT] CHECK PARAMETERS

Function:

fpt checks that parameters with the same names declared in different sub-programs are consistent in data type (e.g. INTEGER or REAL), kind or data size (e.g. INTEGER*4 or INTEGER*2) and value.

The command is executed as a sub-set of the name usage consistency check, invoked by the command CHECK NAMES.

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.

Examples:

Operating system command line:

D:> fpt tcmc.fsp "%check parameter values"

Interactively at the fpt7gt; prompt:

FPT> check param values

See Also

CHECK NAMES

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