Posted by: Jerry Lees
DIM, DIM Statement, VBScript, VBScript Statements, vbscriptstatements
The DIM statement is used to declare variables prior to being used. To save space in your code, you can declare more than one variable in a single statement by separating each variable with a comma.
Dim x, y, z
The Dim statement is not required in VBScript because VBScript will automatically create variables at the time you first use them.