slang-users mailing list

[2008 Date Index] [2008 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: [slang-users] goto statement in slang


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.

> I saw in the mailing archive 
> (http://mailman.jedsoft.org/pipermail/slang-users-l/2007.txt) that 
> someone used something like
>
> SLang_verror (SL_MALLOC_ERROR, "Cannot Create ARRAY for Attributes!! " ) ;
>             goto attribute_error ;
[...]

This is a C code fragment, not slang.  If you post a code fragment
that you are trying to convert, I may be able to suggest something. If
your question is more isis-specific, you may want to post to that list.

Thanks,
--John



[2008 date index] [2008 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]