07-07-2011, 12:19 PM
Dim is for declaring a variable.and Option explicit makes it mandatory for the script writer to declare the variable.
If you have Option Explicit in your script, and you don't declare the variable using Dim ,the script throws an error.
If you have Option Explicit in your script, and you don't declare the variable using Dim ,the script throws an error.