Re: Euphoria features

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

Derek Parnell  wrote:


>
>Another way of doing this is to change Eu so that blocks can be named.
>
>   block_name:
>   for i = 1 to 10
>      for j = 1 to 10
>        if x = 12 then
>          next block_name
>        end if
>      end for
>    end for

You forgot the "end block", but we can see it anyway. ALGOL strikes
again, if we have to do this, programmer controlled blocks would be
an attractive option, in addition to maintaining the structure of the
language. It also allows for structure in mainline code with very little
cost involved.

Everett L.(Rett) Williams
rett at gvtc.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu