Re: Euphoria features

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

David Cuny writes:

>3. You can leap out of block structures:
>
>    for i = 1 to 10
>      for j = 1 to 10
>        if x = 12 then
>          goto label:
>        end if
>      end for
>    label:
>    end for

>Seems to me that this allows the goal of leaping out of blocks of logic.
>
>-- David Cuny

This seems like a good idea to me. I think allowing goto's like basic uses
would be bad cos it'd introduce a whole lot of new problems. But ecsaping
deeply nested loops like that would be a good advantage, I always find that
one of the harder things to work around in EU.

-Mark.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu