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 #46705] Wed, 14 December 2005 09:14 Go to previous message
Emmanuel Christophe is currently offline  Emmanuel Christophe
Messages: 11
Registered: March 2004
Junior Member
Reimar Bauer a écrit :
> 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.
>

Mine doesn't go wrong:

IDL> print, !version
{ x86 linux unix linux 6.2 Jun 20 2005 32 64}
IDL> s={n:'s',i:1} & t={t:'',ii:2} & help,[s,t]
<Expression> STRUCT = -> <Anonymous> Array[2]
IDL>

Emmanuel


>
>
>
> 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
>>> ============================================================ =======
>>>
>
>
>
[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 12:23:01 PDT 2025

Total time taken to generate the page: 1.76780 seconds