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

Home » Public Forums » archive » Re: help with structure
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: help with structure [message #70290 is a reply to message #70289] Wed, 31 March 2010 15:47 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Mar 31, 7:37 pm, David Fanning <n...@dfanning.com> wrote:
> pp writes:
>> I suppose he means that by doing that, after the replicate(), all
>> elements of a point to the same two heap variables.
>
> I guess I don't follow you. Isn't this the meaning
> of "replicate"?

Yes, it is. But I think the question was how to make an array where
each element pointed to a different heap variable. So that when he
assigns the non-temp thing that will go into the pointer target, it
will be a different heap variable for each element of the array. And a
better answer to this problem actually is what Gray wrote above.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: help with structure
Next Topic: Re: gripe about structures

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

Current Time: Sat Oct 11 01:01:45 PDT 2025

Total time taken to generate the page: 0.40214 seconds