comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: What is this error message about?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: What is this error message about? [message #39270] Mon, 10 May 2004 13:02 Go to previous message
Stein Vidar Hagfors H[2] is currently offline  Stein Vidar Hagfors H[2]
Messages: 28
Registered: October 2002
Junior Member
"Haje Korth" <haje.korth@jhuapl.edu> writes:

> Hi all,
> I have been doing some DLM programming, and I get the error message "%
> Temporary variables are still checked out - cleaning up..." whenever I use
> the functions IDL_CvtDbl or IDL_BasicTypeConversion in my C routine below.
> While the error does not seem to affect execution of the routines, the
> message tells me that the programming is not clean. The question is whether
> I am doing something wrong or whether this is a bug in IDL? The error only
> occurs if the type is actually converted. If input array is double, the
> message does not show. Your input is appreciated.
> Thanks,
> Haje

In code produced with my dlmform program, I see that calls corresponding
to e.g.

n = IDL_CvtLng(1,&argv[2]) /* May cause n to be tmp */

is followed with

if (n != argv[2]) IDL_DELTMP(n);

just before the return of the function. So, I think what IDL is complaining
about is that you haven't explicitly deleted the temporary variables (which
may or may not be created in the conversion calls).

IDL is doing it for you, but it's not very happy about it! Bug, feature,
sanity check, call it what you want. My guess is that it's a QA thing for
their own programmers, really.

--
------------------------------------------------------------ --------------
Stein Vidar Hagfors Haugan
ESA SOHO SOC/European Space Agency Science Operations Coordinator for SOHO

NASA Goddard Space Flight Center, Tel.: 1-301-286-9028
Mail Code 682.3, Bld. 26, Room G-1, Cell: 1-240-354-6066
Greenbelt, Maryland 20771, USA. Fax: 1-301-286-0264
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Previous Topic: forcing scroll bars in widget_draw
Next Topic: Re: Call_External - memory problems?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sun Oct 12 08:14:45 PDT 2025

Total time taken to generate the page: 1.04054 seconds