### 15.1.4 DECLARE or NODECLARE Directives

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

The DECLARE and NODECLARE directives take the following forms: [See Note]

  cDEC$ DECLARE
  cDEC$ NODECLARE
  c
  Is one of the following: C (or c), !, or * (see Section 15.1.1).

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.

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

For More Information:

- On syntax rules for all general directives, see Section 15.1.1.
- On the IMPLICIT NONE statement, see Section 5.9.

Previous Page Next Page Table of Contents