[Gambas-user] Wiki: DO doesn't answer

Benoit Minisini gambas at ...1...
Fri Mar 31 13:26:14 CEST 2006


On Friday 31 March 2006 11:32, Eilert wrote:
> >> Then I found WHILE has a loading error, too.
> >
> > OK. Fixed...
>
> Tanks.
>
> > Do it for one structure, and I will tell you if I find it good :-) and if
> > you can do the same for the other structures.
> >
> > Regards,
>
> Ok, I've done something with the DO page. Take a look at it and tell me
> if you like it.
>

I modified the page: there is no two syntax of DO...LOOP. You can write DO 
WHILE...REPEAT UNTIL!

> One question just came up:
>
> CONTINUE - does it jump directly to the beginning, or does it jump to
> the end of the loop to check for UNTIL? Does it evaluate the Condition
> (WHILE or UNTIL) or does it just repeat the loop?
>
> Rolf
>

CONTINUE jumps to the end of the loop, and evaluates the end condition if it 
exists.

Regards,

-- 
Benoit Minisini





More information about the User mailing list