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

Home » Public Forums » archive » DLM heap variable access
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: DLM heap variable access [message #67153 is a reply to message #66984] Fri, 03 July 2009 08:46 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
I was looking around the files, and found some odd things:

1) There is a method in list__define, which appears to do what the
documentation calls Join. But it is called Simp. However, it tries to
call a nonexisting function list_simp, which I thus I replaced by a
call to list_join.

2) 3 of the methods (function and procedure Show, plus Simp), when
called, apparently destroyed the list. That is:

IDL> a=obj_new('list')
IDL> a->append,9d0
IDL> a->append,5d0
IDL> print,list_active()
1
IDL> a->show
(9.0000000 5.0000000)
IDL> print,list_active()
0
IDL> obj_destroy,a
% LIST_FREE: Argument not of list type.

Which I found could be solved (though I do not understand why), by
replacing the argument in the calls to the list functions, to use a
copy of self.d. That is, replacing

print, list_show(self.d)

by

d=self.d
print, list_show(d)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDLDOC 3.2 Index page not as interesting as it could be...
Next Topic: Re: Menu Question

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

Current Time: Sat Oct 11 16:19:48 PDT 2025

Total time taken to generate the page: 1.43664 seconds