DECLARE and NODECLARE

General Compiler Directives: DECLARE generates warnings for variables that have been used but have not been declared (like the IMPLICIT NONE statement). NODECLARE (the default) disables these warnings.

Syntax

cDEC$ DECLARE

cDEC$ NODECLARE

c

Is one of the following: C (or c), !, or *. (See Syntax Rules for Compiler Directives.)

The DECLARE directive is primarily a debugging tool that locates variables that have not been properly initialized, or that have been defined but never used.

See Also