[slang-users] goto statement in slang
John E. Davis
davis at space.mit.edu
Tue Sep 16 22:26:02 UTC 2008
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.
> 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
More information about the slang-users-l
mailing list