On Feb 19, 2007, at 4:49 PM, Craig A. Finseth wrote:

>> Of course, RB's always-do-the-for-loop-once is a pain in the
>> *censored*, too.
>
>    To what problem are you referring?
>
> dim i, count as integer
> for i = 0 to count - 1
>       ...
> next i
>
> It still does it once even if count is 0.  So, you have to do:
>
> dim i, count as integer
> if count > 0 then
>       for i = 0 to count - 1
>               ...
>       next i
> end

Were this true, I'd have a lot of broken code.  If you can produce  
this in a test application, you should report it as a bug.

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

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to