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

Home » Public Forums » archive » Re: IDL Anon Structs
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: IDL Anon Structs [message #4273 is a reply to message #4264] Thu, 18 May 1995 00:00 Go to previous messageGo to previous message
patterso is currently offline  patterso
Messages: 36
Registered: February 1995
Member
Wart (wart@chop.ugcs.caltech.edu) wrote:
: 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."

Ahh, but will it STILL work in the next release? Or the one after that?
Or.....

Confucious say,"Beware of using undocumented features" :)i

Though, maybe now you've found it, RSI will let it stay.

Tim

: --Wart
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL complex math error fixed!
Next Topic: DICOM viewer in IDL

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

Current Time: Sat Oct 11 05:04:18 PDT 2025

Total time taken to generate the page: 0.32205 seconds