David Harrison
11-17-2004, 01:29 PM
Hey there, I'm a bit stuck at the moment and I'd appreciate any help you can give.
I know that I can declare an array like so:
dim blah(10)
However, I need to declare an array a bit like this:
dim blah(someVariable)
Unfortunately I get an error spat out at me, something to the effect of "expected an interger constant". So I tried to do something like this:
i someVariable=10
dim blah(someVariable)
And I get the same error. Can anyone help me out here? Is there an alternative way to declare an array or perhaps add each item into the array as I need to?
I know that I can declare an array like so:
dim blah(10)
However, I need to declare an array a bit like this:
dim blah(someVariable)
Unfortunately I get an error spat out at me, something to the effect of "expected an interger constant". So I tried to do something like this:
i someVariable=10
dim blah(someVariable)
And I get the same error. Can anyone help me out here? Is there an alternative way to declare an array or perhaps add each item into the array as I need to?