Expected integer constant
You attempted to create an array using a nonconstant in the Dim
statement. In VBScript, the value of size in a Dim statement must be a
constant. For example, Dim a(10) ' is valid.
Dim a(x) ' is not valid.
Dim a(1=2) ' is not valid.
To correct this error
See Also
Dim Statement |
ReDim Statement
|