Should output the lowest #. Not tested (or syntax checked).

JASS:
local integer i = 1
local integer lowest = yourArray[0]
local integer index = 0
loop
exitwhen i > 10
if (yourArray[i] < lowest) then
set lowest = yourArray[i]
set index = i
endif
set i = i + 1
endloop
call BJDebugMsg("yourArray["+I2S(index)+"] has the lowest value, " + I2S(lowest))