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 #67307 is a reply to message #67153] Sat, 11 July 2009 10:45 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
> 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)

Of course the answer to this was obvious. I just keep forgetting that
structure elements are passed by value, not by reference. Even though
list_show() does not change the value of its argument, if it is given
an identifier (to a non-empty list) by value, it erases the list.
[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 Nov 29 12:42:25 PST 2025

Total time taken to generate the page: 1.04426 seconds