Are you saying that RB Ubound does an iterating count of the number of elements each time ??
I would have thought that each RB array has an internal count "property" that only gets modified as elements are added or removed, and this property is what gets queried each time Ubound is called. I might be wrong but that would seem the most efficient thing to do - at the cost of a single integer. On 17/5/07 15:30, "James Sentman" <[EMAIL PROTECTED]> wrote: > > The problem is that you're evaluating the ubound everytime you go > around the loop. The higher the ubound value the more times you'll > have to evaluate it and the slower your loop will run. Regards, Dan _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
