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

Home » Public Forums » archive » IDL: Structure of Structures?
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
IDL: Structure of Structures? [message #13904] Tue, 05 January 1999 00:00
Scott Norton is currently offline  Scott Norton
Messages: 6
Registered: October 1998
Junior Member
Dear IDL users,

Is it possible to create structure of structures?

If I have
NAMEADDRESS = CREATE_STRUCT('name','', 'address', 0.0)
NAMEADDRESSARRAY= replicate(NAMEADDRESS,100)
and then wanted a structure that, for instance, that had US states with
related fields and the above structure as a sub-structure, how would it
appear?

For instance,

locationUSstate = CREATE_STRUCT(USstate,' ', numberOfvisits,0.0,
NAMEADRESSARRAY, XX)

so basically there would be a name-address list for each US state...

What should XX be? Is it possible to do this? Is there a better way of
doing this?

Thanks!!
-Scott
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDL: Structure of Structures?
Next Topic: Here is some code to call IDL or PV-WAVE from C.

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

Current Time: Fri Oct 10 08:17:07 PDT 2025

Total time taken to generate the page: 0.80279 seconds