comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: IDL Anon Structs

IDL Anon Structs
type: item
description: 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
creator: wart
date: 1995-05-17T07:00:00-00:00