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

Home » Public Forums » archive » Re: Can somebody explain this?
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: Can somebody explain this? [message #41027 is a reply to message #41022] Thu, 16 September 2004 07:46 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Matt Feinstein <nospam@here.com> writes:

> On Thu, 16 Sep 2004 08:16:57 -0500, Kenneth Bowman
> <k-bowman@null.tamu.edu> wrote:
>
>
>>
>> This is an obscure feature of using arrays as subscripts. See Building
>> IDL Applications, p 133.
...
>
> Whoa. Is there some, umm, logic behind this?

Yeah, crazy mountain-man logic.

My guess is that this is an IDL 1.0 "wouldn't it be cool if" feature,
but it is really a dangerous feature that open to accidental abuse.

The wouldn't it be cool aspect is that when one is using the list form
of indexing as a 1D lookup table, IDL's behavior automatically does
cropping to the table boundaries. Of course, not everybody has 1D
lookup tables, and not everybody wants the cropping behavior.

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[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: size of window object and xinteranimate loading
Next Topic: Changing height value in ion_image script

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

Current Time: Sat Oct 11 12:39:07 PDT 2025

Total time taken to generate the page: 0.80127 seconds