Re: Labeled Loops?

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

Jeremy Cowgar wrote:
> 
> > 
> > Ok, genius, how do you label a while loop? :P
> > 
> 
> Same way. Cake! I already have the code in my head floating around. I didn't
> add one just to show you didn't have to.
> 
> }}}
<eucode>
> while TRUE label "top" do
>     for a = 1 to 10 label "mid" do
>         for b = 1 to 10 label "bottom" do
>             exit "top"
>         end for
>     end for
> end while
> </eucode>
{{{

> 
> If this is worth while, I'll code it up tonight (possibly). I am having too
> much fun with conditional compiling. Wait for my next post. I think everyone
> will be excited about the possibility.
> 

Opps! It wasn't until I read CK's response that I realized it was directed to
him and it was his code! So much for reading getlost Sorry CK!

--
Jeremy Cowgar
http://jeremy.cowgar.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu