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

Home » Public Forums » archive » Re: Duplicate heap variables recursively
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: Duplicate heap variables recursively [message #51367] Thu, 16 November 2006 04:13 Go to previous message
Wox is currently offline  Wox
Messages: 184
Registered: August 2006
Senior Member
On 16 Nov 2006 03:30:06 -0800, tianyf@gmail.com wrote:

> You can duplicate one exact variable by using REPLICATE.

Yes, but this duplicates pointers too and that is not what I want.


IDL> print,*(*a).p
5
IDL> *(*b).p = 10
IDL> print,*(*a).p
10
-> this must stay 5, not 10.
[Message index]
 
Read Message
Read Message
Previous Topic: Duplicate heap variables recursively
Next Topic: Re: Partial summation of a data set!

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

Current Time: Fri Oct 10 05:04:07 PDT 2025

Total time taken to generate the page: 0.40329 seconds