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

Home » Public Forums » archive » Re: Array indexing problem
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: Array indexing problem [message #37865 is a reply to message #37858] Wed, 28 January 2004 14:23 Go to previous messageGo to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
>> Is there any existing code that will catch the below IDL simple
>> example? Input a and b must be an array.
>>
>>
>> Input is an array:
>> IDL> b=[4]
>> IDL> a=[0,1,2]
>> IDL> print,a[b]
>> 2
>> This should give me an error.
>
>
> Alas, you have run into a little known, but enormously
> appreciated, little feature of IDL. (I'm sure it is
> explained in the manuals somewhere. :-)

Could you elaborate on the "enormously appreciated" part of your
statement? Maybe I'm not thinking in the "IDL Way," but I would not
have expected the result IDL gives. It may very well be explained in
the manuals, but why is such a "feature" "enormously appreciated?"

Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: V5.6 to V6.0 license server question
Next Topic: Rapid "moving windows" access in IDL?

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

Current Time: Sun Oct 12 04:36:48 PDT 2025

Total time taken to generate the page: 1.44333 seconds