This is probably very simple but I cannot seem to get it.
const bound = cInt(Matches.Count)
Dim KeysItems(1, bound)
Matches.Count should return an integer.
I'm trying to create a multi dimensional array the same size as the Matches collection. The Matches collection will always be different so I have to dim the array dynamically. The above code generates the following error.
Microsoft VBScript compilation error '800a0402'
Expected integer constant
line 1650
Dim KeysItems(1, bound)
-----------------^
Any ideas?