05-22-2010, 02:31 PM
Here you are my first two cents for the wishing well:
Now the DO-LOOP syntax is:
I miss the following variant, allowed in FreeBASIC, Beta Basic and others:
I think it's nice and clear to use just one loop structure and simply move the conditions. In fact the (less elegant, in my opinion) WHILE-WHILE END structure would be redundant (though it exists in FreeBASIC too).
Now the DO-LOOP syntax is:
Quote:Do
[ statement block ]
Loop [ { Until | While } condition ]
I miss the following variant, allowed in FreeBASIC, Beta Basic and others:
Quote:Do [ { Until | While } condition ]
[ statement block ]
Loop
I think it's nice and clear to use just one loop structure and simply move the conditions. In fact the (less elegant, in my opinion) WHILE-WHILE END structure would be redundant (though it exists in FreeBASIC too).
Marcos Cruz
http://programandala.net
http://programandala.net