Following Data Type Rules

First of all, VBScript supports only the Variant data type. Thus, the only reason you would use a Dim statement is to declare an array. VBScript doesn’t support all of the features of the Dim, Public, and Private statements used to declare variables.

You can continue to use variables with different data types. You can still create Date values, String values, and Double values, but they must be created according to the rules of the Variant data type.

© 1998 SYBEX Inc. All rights reserved.