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 General 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.

The following forms are also allowed: !MS$DECLARE and !MS$NODECLARE

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also: IMPLICIT, General Compiler Directives