- Subject: [slang-users] Re: goto statement in slang
- From: Jörg Sommer <joerg@xxxxxxxxxxxx>
- Date: Wed, 17 Sep 2008 10:11:16 +0000 (UTC)
Hallo John,
"John E. Davis" <davis@xxxxxxxxxxxxx> wrote:
> Tolga Guver <guver.tolga@xxxxxxxxx> 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.
[2008 date index]
[2008 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]