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

Home » Public Forums » archive » 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
help with structure [message #70296] Wed, 31 March 2010 14:30
Sumit is currently offline  Sumit
Messages: 1
Registered: March 2010
Junior Member
I want to create a structure with 2 fields. The fields need to be of
variable length. I need to have 'n' such structures,where 'n' is
scalar number. To address the issue of variable length field, I create
pointers for each field( pointing to variable temp for initialization)
as shown below:
mystruct={l1:ptr_new(temp), l2:ptr_new(temp)}
I don't know how to create copies of this structure. Replicate
doesn't work as I guess it creates shallow copy.
any suggestions?
[Message index]
 
Read Message
Previous Topic: IDL_PATH problems
Next Topic: Re: help with structure

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

Current Time: Wed Oct 08 19:39:32 PDT 2025

Total time taken to generate the page: 0.00419 seconds