The biggest advantage of DownTo is it usually allows you to put your variable loop bound at the beginning, thus causing RB to only compute it once:

for i = 0 to me.findloopbound()
   ...
next

will call findloopbound() every time through the loop, whereas:

for i = me.findloopbound() downto 0
...
next

calls it once.


mike
--
Mike Woodworth
[EMAIL PROTECTED]


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to