man_im_bored
06-21-03, 02:58
I need to create an array :
i=20
dim theArray(i)
I haven't actually done this one before where you say that the number of array value's you want is equal to a varable rather than a constant, so......
how do i make "i" a constant? (Because it comes up with the error saying 'needs to be a constant integer')
I tried int(i) before declaring the array, but it didn't work:(
i=20
dim theArray(i)
I haven't actually done this one before where you say that the number of array value's you want is equal to a varable rather than a constant, so......
how do i make "i" a constant? (Because it comes up with the error saying 'needs to be a constant integer')
I tried int(i) before declaring the array, but it didn't work:(