how to get the greatest value in array?

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

Hi,

i have an array like x(1), x(2) ... x(10).
Is there a simple way to get the greatest value?

Thanks
Eric
 
Can you use the SortedList which use (key,value) pair
It sort by Keys and the get either enumarator to move
Hope that help
Nicolas
 
Back
Top