Re: Fun Writing Books [message #46714 is a reply to message #46713] |
Wed, 14 December 2005 04:31   |
Foldy Lajos
Messages: 268 Registered: October 2001
|
Senior Member |
|
|
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
On Wed, 14 Dec 2005, Reimar Bauer wrote:
> 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
> ============================================================ =======
>
|
|
|