Thread
:
How to pick the highest value in a variable array?
View Single Post
04-27-2006, 06:08 AM
#
3
(
permalink
)
Galmore
BattleForums Newbie
Join Date:
Apr 2006
Posts:
11
Id do a for loop with a if then stament
iHighest_so_far = 0
For A = 1 to 9 do
if iArray[A] > iHighest_so_far then
iHighest_so_far = A
loop
Winner = iHighest_so_far
That make sence to ya?
Galmore
View Public Profile
Find More Posts by Galmore