Purpose |
Force explicit declaration of all variables. |
Syntax |
OPTION EXPLICIT |
Remarks |
Using OPTION EXPLICIT in a program has the same effect as using the #DIM ALL metastatement. That is, it requires that all variables be declared before they are used. When this option is used, the compiler generates a compile-time error if a variable or array is used without being explicitly declared. |
See also |