Question: Find a min in array

Hi,

I need some help, I have tried some variants of finding of min of an array but it did not work.

I have declared an array (T:=array(1..10), then using a cycle to calculate the values of this array. I can read this array and plot the data and see the min and max values(for example: (1,2,0,3,4,5,6,3 ,-1,5)), but I can not automatically calculate  the min and to find that this is exactly T[9].

Is there special function that I can use for this or I should make some cycle to do this for me?

Thank you, Tanya

Please Wait...