On Feb 19, 2007, at 3: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:
The loop contents are skipped when I run it (2K7r1, OS X 10.4.8). Regards, Guyren G Howe Relevant Logic LLC guyren-at-relevantlogic.com ~ http://relevantlogic.com REALbasic, PHP, Ruby/Rails, Python programming PostgreSQL, MySQL database design and consulting Technical writing and training _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
