For a loop, it is much faster to use an if ( var1 > var2 ) { max1 = var1; }
The max operator is much slower from my tests.I don't know about configuring it for an array operator. BR, Dennis On Jan 21, 2010, at 12:50 PM, Rob wrote: > I should have added... I'm trying to find the max value of a large list of > variables... > > --- In [email protected], "Rob" <sidharth...@...> wrote: >> >> Is there an easy way in AFL to find the maximum value of a large list...? >> >> Is it a case of a for...next loop or nested Max() statements...? >> >> Many Thanks >> > > > > > ------------------------------------ > > **** IMPORTANT PLEASE READ **** > This group is for the discussion between users only. > This is *NOT* technical support channel. > > TO GET TECHNICAL SUPPORT send an e-mail directly to > SUPPORT {at} amibroker.com > > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at > http://www.amibroker.com/feedback/ > (submissions sent via other channels won't be considered) > > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: > http://www.amibroker.com/devlog/ > > Yahoo! Groups Links > > >
