Re: Is Euphoria a Hobby language?

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

cklester wrote:
> > Or break out of multiple levels of loop without slowdown.
> 
> ?
> 

Replace:

integer flag

flag = 0

for a = 1 to 10 do
    for b = 1 to 10 do
        if b = 5 then flag = 1 exit end if
    end for
    if flag then exit end if
end for

With a better way of doing it.

/Lex

Shhh! Be vewy quiet! I'm hunting wuntime ewwows!

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

Search



Quick Links

User menu

Not signed in.

Misc Menu