Quote:
Originally posted by joe_bruin
ary[(aryIndex+1)]
this goes out of bounds when aryIndex is equal to (getSize() - 1)
|
i know that, that is what i am tryin to fix
Quote:
Originally posted by abc123
what is getSize() sposed to do? if you just want to loop through the array:
|
getSize() returns the number of used slots in the array, for example the person whants a 10int array but only fills it up to 6, i am trying to pick out the largest int value out of the arrray