Re: New keyword added: continue

new topic     » goto parent     » topic index » view thread      » older message » newer message

Jeremy Cowgar wrote:

> while 1 do
> ...
> end while
> 
> is optimized as:
> 
> begining:
> 
>    ... do something
> 
> goto begining
> 
> No exit checks or anything, so one could very well successfully argue we
> already
> have the loop proposed by ken:

Yes, we've always had the loop.  I'm just proposing we go all the way and
just use the syntax...
 
> Loop
> 
> End Loop

I guaranty the soon nobody would miss, while, for, for each, repeat until,
do while, do until, rinse, lather, soap...  oops!  Got ahead of myself on
those last few.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu