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

Home » Public Forums » archive » Re: IDL 8.0 garbage collector issue.
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: IDL 8.0 garbage collector issue. [message #72993 is a reply to message #72992] Wed, 20 October 2010 07:24 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Oct 20, 8:47 am, Bubba <boc...@gmail.com> wrote:

> Am I missing something?  Is this expected behavior?  It seems to me
> that you should be able to do this.  It would just be extra unneeded
> code to store the return into a variable just to be able to access
> it.  I use code like this a lot and I can't afford to update it
> everywhere.

I agree that this looks like a bug in the IDL 8.0 garbage
collection. It works correctly in IDL 7.1.

One "fix" is to turn off garbage collection (so your code works the
same as in IDL 7.1) by adding

!null = heap_refcount(/disable)

to your startup file. --Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: write plots alternately to two postscripts files
Next Topic: Get Lat/long equivalent based on NEASE grid value

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

Current Time: Wed Oct 08 19:29:10 PDT 2025

Total time taken to generate the page: 0.00401 seconds