I have an array of integers and i want to test for the smallest value in sections of the array. In other words if i have an array:
value(14) As Integer, r As Integer
'Code that sets array values
r = int (5 * rnd)
'find the lowest between:
value(r * 3 - 3) and value(r * 3)
'lowest value(n)
'return n
I already have the code to set the array values. I just need to find the array member with the lowest integer, not the integer itself.
Thanks in advance. Sorry if this is kind of a strange one!
Bookmarks