Re: DLM error [message #43351] |
Fri, 08 April 2005 05:20  |
Haje Korth
Messages: 651 Registered: May 1997
|
Senior Member |
|
|
Brad,
if your DLM routine has keywords, you should be calling IDL_KWFree just
before the routine returns. If you don't, unexpected things may happen, even
though the IDL API tries to be forgiving at time.
Haje
<b_gom@hotmail.com> wrote in message
news:1112912556.805285.294960@z14g2000cwz.googlegroups.com.. .
> Hello any DLM experts,
>
> Does anybody know what the following error means?
> % Internal error: IDL_KWFree() bad nesting.
>
> I'm obviously doing something wrong in handling keywords, but what
> should I be looking for? I don't explicitly call IDL_KWFree()..
>
> Thanks
>
> Brad
>
|
|
|
|
Re: DLM error [message #43446 is a reply to message #43351] |
Fri, 08 April 2005 09:35  |
b_gom
Messages: 105 Registered: April 2003
|
Senior Member |
|
|
Thanks, everyone, for the input. Of course, the answer to my question
'Why am I getting a IDL_KWFree() error when I'm not calling
IDLKWFree()?' is that I -should- be calling IDL_KW_FREE.
It turns out I had mistakenly copied in some code from the old API, and
was using IDL_KWCleanup instead..
Brad
Haje Korth wrote:
> Brad,
> if your DLM routine has keywords, you should be calling IDL_KWFree
just
> before the routine returns. If you don't, unexpected things may
happen, even
> though the IDL API tries to be forgiving at time.
>
> Haje
>
>
>
> <b_gom@hotmail.com> wrote in message
> news:1112912556.805285.294960@z14g2000cwz.googlegroups.com.. .
>> Hello any DLM experts,
>>
>> Does anybody know what the following error means?
>> % Internal error: IDL_KWFree() bad nesting.
>>
>> I'm obviously doing something wrong in handling keywords, but what
>> should I be looking for? I don't explicitly call IDL_KWFree()..
>>
>> Thanks
>>
>> Brad
>>
|
|
|