Syntax
|
Option Explicit
|
Description
|
Prevents implicit declaration of variables and externally called procedures.
|
Comments
|
By default, BasicScript implicitly declares variables that are used but have not been explicitly declared with Dim , Public , or Private . To avoid typing errors, you may want to use Option Explicit to prevent this behavior.
The Option Explicit statement also enforces explicit declaration of all externally called procedures. Once specified, all externally called procedures must be explicitly declared with the Declare statement.
|
See Also
|
Const (statement), Dim (statement), Public (statement), Private (statement), ReDim (statement), Declare (statement)
|