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 #41029 is a reply to message #41028] Thu, 16 September 2004 06:57 Go to previous messageGo to previous message
Matt Feinstein is currently offline  Matt Feinstein
Messages: 33
Registered: July 2002
Member
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.
>
> Clipping
>
> If an element of the subscript array is less than or equal to zero, the
> first element of the subscripted array is selected. If an element of the
> subscript array is greater than or equal to the last subscript in the
> subscripted array, the last element is selected. This clipping of out of
> bounds elements can be disabled within a routine by using the
> STRICTARRSUBS option to the COMPILE_OPT statement. (See the
> documentation for �COMPILE_OPT� in the IDL Reference Guide manual for
> details.) If STRICTARRSUBS is in force, then array subscripts that refer
> to out of bounds elements will instead cause IDL to issue an error and
> stop execution, just as an outof-range scalar subscript does.

Whoa. Is there some, umm, logic behind this?

Matt Feinstein

--
There is no virtue in believing something that can be proved to be true.
[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: Wed Dec 03 09:58:34 PST 2025

Total time taken to generate the page: 2.08860 seconds