#UNIQUE metastatement  

Purpose

Specify whether unique variable names are required.

Syntax

#UNIQUE VAR [ON|OFF]

Remarks

The #UNIQUE metastatement is used to tell the compiler whether it should require unique variable names.

If this option is enabled, only LOCAL, STATIC, and parameter variable names may be reused in other procedures.  Other variable names (GLOBAL, THREADED, and INSTANCE) must be unique from all other variable names.

If #UNIQUE VAR is omitted, the default condition is #UNIQUE VAR OFF.

See also

#DIM, DEFtype, DIM, GLOBAL, LOCAL, REDIM, STATIC, OPTION EXPLICIT