PureBytes Links
Trading Reference Links
|
Use a loop....
mymax = -999999;
for counter = 1 to 20 begin
if myarray[counter] > mymax then mymax = myarray[counter];
end;
> What is the easiest way to work with all the positions when you have a
> single dimension array with 20 positions? For instance: To find the largest
> value within the array, we might use maxlist (Myarray[1], Myarray[2] and so
> on to 20). Can we say something like maxlist (Myarray[1] thru Myarray[20])I
> hope so! I guess this is basically what i am trying to solve. Any help would
> be greatly appreciated.
--
Dennis
|