[slang-users] Re: goto statement in slang
Jörg Sommer
joerg at alea.gnuu.de
Wed Sep 17 10:11:16 UTC 2008
Hallo John,
"John E. Davis" <davis at space.mit.edu> wrote:
> Tolga Guver <guver.tolga at gmail.com> wrote:
>> I was wondering if there is anything like a goto statement in IDL.
>
> No. There are other control mechanisms such as EXIT_BLOCK that may
> be used but none are equivalent to the goto statement.
As we all know goto is evil, I expect you never will implement it. But
what about break and continue with an optional level as in shell.
forever
{
while (1)
{
break 2;
}
}
Bye, Jörg.
--
Die meisten Menschen wollen lieber durch Lob ruiniert
als durch Kritik gerettet werden.
More information about the slang-users-l
mailing list