Quote:
Dim iNumbers (4) As Integer.
That will give you an array of numbers 1 through 4 (In fact that gives you 5 numbers, counting zero, but ignore that) Then you simple assign or compare like so
no u should not ignore that because it will give u an error. u can either do it
code: |
dim iNumbers(1 to 4) as integer
|
OR
code: |
dim iNumbers(3) as integer
|
this one includes the 0 the first one doesn't. it's important to make sure u know if your using the zero or not or u wont get correct results.