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

Home » Public Forums » archive » Re: Fun Writing Books
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: Fun Writing Books [message #46713 is a reply to message #46705] Wed, 14 December 2005 05:14 Go to previous messageGo to previous message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
Yes, the change in behaviour is documented in the IDL 5.4
"what's new", on section "Relaxed Rules for Combining Structures".

Ciao,
Paolo


F�LDY Lajos wrote:
> OK, here you are:
>
> IDL> print, !version
> { sparc sunos unix 5.3 Nov 11 1999}
> IDL>
> IDL> a = {Name:'Larry', Age:46}
> IDL> b = {Name:'JoeBob', Age:39}
> IDL> c = [a, b]
> % Conflicting data structures: B,concatenation.
> % Execution halted at: $MAIN$
> IDL>
>
> regards,
> lajos

>>>> >
>>>> >
>>>> >>I believe this wasn't restricted. Both are anonymous structures not
>>>> >>named!
>>>> >
>>>> >
>>>> >Concatenation of anonymous structures in the way David describes
>>>> >definitely used to be forbidden. Each anonymous structure has an
>>>> >internally generated identifier and IDL used to insist that these match,
>>>> >which effectively meant the only way to create an array of anonymous
>>>> >structures was replication. This restriction was removed a few versions
>>>> >back (don't recall when) and IDL now tries to do the sensible thing.
>>>> >
>>>> >
>>>>
>>>> But then it was always possible. I have used this often in the past
>>>> versions too
>>>>
>>>> Reimar
>>>>
>>>>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Polygon Clipping Algo in IDL
Next Topic: Re: Recursive Function Program in IDL

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

Current Time: Sun Oct 12 07:20:04 PDT 2025

Total time taken to generate the page: 2.00108 seconds