Am 15.04.2006 um 08:27 schrieb Eric M.Williams:
Sub Action()
dim i as integer
for i=10 to 0 step -1
msgBox str(i)
next
End Sub
Press the button, nothing happens. I'm using 5.5, incidentally.
If that wasn't already brought up (I am on a time warp and receive
answers hours before the questions):
From the RB 2006r1 release notes:
[Chg] [All] Language: Negative step values now cause a For loop to
iterate backwards, instead of aborting instantly. This is
more consistent with the way other dialects of Basic work.
(The DownTo option is still supported, since it can improve
readability, but now it simply reverses the sign of the
step value.)(Feedback ID: uxilkzbk)
Hans-Georg
_______________________________________________
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>