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

Home » Public Forums » archive » Re: basic structure question
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: basic structure question [message #77973 is a reply to message #77972] Thu, 13 October 2011 15:13 Go to previous message
SonicKenking is currently offline  SonicKenking
Messages: 51
Registered: October 2010
Member
On Oct 14, 9:06 am, Avian <dflat...@gmail.com> wrote:
> Hi - I'm just getting into the nitty gritty of IDL, and had a quick question.
>
> Is there a way to add an existing structure into another structure as a tag? In other words, to not put it on the same level as the first structure?
>
> If I have a structure called J that has a zillion tags, and I want to put it into an existing structure called K (which has its own tags), the new structure would be
>
> K,ktag1,ktag2, J
>                       - J's zillion tags beneath this accessible as K.J.tag1, etc...
>
> Hope that made some sense.
>
> Thanks in advance!

a = create_struct(k, 'j', j)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: basic structure question
Next Topic: Re: legend() with a mix of plot() and contour()

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

Current Time: Sat Oct 11 09:42:10 PDT 2025

Total time taken to generate the page: 1.91829 seconds