[Gambas-user] Bug in for..next cycle with negative step?
Werner
werda at ...1000...
Fri Sep 9 18:34:50 CEST 2005
PV wrote:
> Hi all,
>
> I just noticed this doesn't work
>
> DIM i as Integer
>
> FOR i = 10 TO 1 STEP -1
> PRINT "ciao"
> NEXT
>
> The loop is exited immediately, so no "ciao" is printed.
>
> Is this a bug or have I missed some syntax changes in the devel
> version? (by the way, I'm using 1.9.20).
>
>
> Take care,
> Piero
>
> Doesn't seem to work in 1.0.10 either
Werner
More information about the User
mailing list