Re: GOTO

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

Hi, Rob,

But how about a "loop" (or,  as some call it, "continue")  to conditionally
return to the beginning of a loop from any
point within?  I guess some would call this a 'goto', but if it is, it's a
controlled goto, one which I would find quite
useful. Given that we have, in Euphoria, an 'exit' statement, how about the
reverse?

How say ye?

Regards  (and thanks for Euphoria!)

Jim

Robert Craig wrote:

> Mike Nelson writes:
> > How difficult would this be to implement?
>
> GOTO's, as David Cuny pointed out the other day,
> are pretty easy to implement, in almost any form
> you can imagine. They aren't in Euphoria
> mainly because of my religious convictions.
>

> A multi-level exit is somewhat less objectionable to me,
> but I'm not in a big hurry to do it, since I don't think
> it comes up that often, and there are ways to
> deal with it when it does arise.
>
> Regards,
>    Rob Craig
>    Rapid Deployment Software
>    http://www.RapidEuphoria.com

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

Search



Quick Links

User menu

Not signed in.

Misc Menu