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

Home » Public Forums » archive » structure into strcuture
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
structure into strcuture [message #56287] Fri, 12 October 2007 10:41
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Hi Gurus,

I want to declare an object structe with 4 structures inside. Is it
possible ?

My class has 4 structures with 10 to 15 variables.
I declare the object like this example:

PRO objectA__define
struct = { objectA, $
struct_a={ a1:0L, $
a2:0L $
}, $
struct_b={ b1:0L, $
b2:0L $
} $
}
END

But IDL can't compile...
Maybe I need to declare everyone as a pointer and redifine every
structure in the Init function but I don't want to do this.

How I can do ?

- Tanks -
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: reading data-files from archive?
Next Topic: Re: Error in coyote's colorbar

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

Current Time: Wed Oct 08 17:28:43 PDT 2025

Total time taken to generate the page: 0.00763 seconds