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 #46715 is a reply to message #46714] Wed, 14 December 2005 04:21 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
F�LDY Lajos wrote:
> Hi,
>
> just a little experiment:
>
> IDL> print, !version
> { sparc sunos unix 5.3 Nov 11 1999}
> IDL>
> IDL> s={n:'s',i:1} & t={t:'',ii:2} & help,[s,t]
> % Conflicting data structures: T,concatenation.
> % Execution halted at: $MAIN$
> IDL>
>
> regards,
> lajos


This must go wrong and this is different about the one we are speaking here.




IDL> a = {Name:'Larry', Age:46}
IDL> b = {Name:'JoeBob', Age:39}
IDL> c = [a, b]


Please show your results to this here.

cheers

Reimar


>
>
> On Wed, 14 Dec 2005, Reimar Bauer wrote:
>
>
>> Mark Hadfield wrote:
>>
>>> Reimar Bauer wrote:
>>>
>>>
>>>> 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
>>
>>
>> --
>> Reimar Bauer
>>
>> Institut fuer Stratosphaerische Chemie (ICG-I)
>> Forschungszentrum Juelich
>> email: R.Bauer@fz-juelich.de
>> ------------------------------------------------------------ -------
>> a IDL library at ForschungsZentrum Juelich
>> http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
>> ============================================================ =======
>>


--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-I)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
------------------------------------------------------------ -------
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg-i/idl_icglib/idl_lib_intro. html
============================================================ =======
[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: Sat Oct 11 16:27:29 PDT 2025

Total time taken to generate the page: 1.51815 seconds