Wut?
For each (Integer A) from 1 to <Your array size>, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Array[Array_num] Less than or equal to Array[(Integer A)]
Then - Actions
Set Array_num = (Integer A)
Set Array_val = Array[(Integer A)]
Else - Actions
But, GUI is better. (Cause Jass isn't working now ^.^) Ok ya sry I shoulda used the search, but I still don't get it.
Wrong on so many levels.
JASS works fine. As does vJASS. It's just that people have to fix the return bug in their systems/maps/whatever that use it. And the false-positives.
You do? OK. GUI > JASSI need you to tell me how GUI is better than (v)JASS. Seriously.
Just do a loop. Divide Array[Integer A] by Array2[Integer A].
And I'm guessing this will find the lowest number as well? So long as I put Greater or equal as opposed to Less than or equal. yes/no?