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

Home » Public Forums » archive » IDL Anon Structs
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 Anon Structs [message #4283] Wed, 17 May 1995 00:00
wart is currently offline  wart
Messages: 8
Registered: March 1995
Junior Member
Interesting note about anonymous structures:

p. 7-1 of the IDL User's Manual states: "Anonymous Structures cannot
contain other anonymous structures."

However... try this:

IDL> w = {a: 0, b: 1}
IDL> x = {w: w, c: 2}
IDL> help, w
W STRUCT = -> <Anonymous> Array(1)
IDL> help, x
X STRUCT = -> <Anonymous> Array(1)
IDL> help, x.w
<Expression> STRUCT = -> <Anonymous> Array(1)

As one of my grade school teachers used to tell us whenever there was an
error in a text: "Take out your pencils and cross out that sentence in
your textbook."

--Wart
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL saddle point routine
Next Topic: Re: Q: Who knows IDL?--correction

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

Current Time: Wed Oct 08 15:36:17 PDT 2025

Total time taken to generate the page: 0.00556 seconds