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

Home » Public Forums » archive » Array with float indices.
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 with float indices. [message #85003 is a reply to message #85001] Fri, 21 June 2013 05:30 Go to previous messageGo to previous message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Friday, June 21, 2013 2:21:20 PM UTC+2, David Fanning wrote:
> Nikola Vitas writes:
>
>
>
>> Is this actually a feature of IDL? Is it documented somewhere? I found it to be quite dangerous as a potential source of bugs.
>
>
>
> Yes, it is one of the lesser known features, but it has been a feature
>
> of IDL from forever. It is certainly documented *somewhere*. I just re-
>
> read the "Array - subscripts" section of the documentation, though, and
>
> I didn't find it there. So, who knows where it is. I can't seem to find
>
> anything in the IDL Help these days. :-(
>

Language > Arrays > Using Arrays as Array Subscripts

Array Subscripts and 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.

regards,
Lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: cgErrPlot with vector color
Next Topic: GUI and checkboxes error

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

Current Time: Sat Oct 11 08:49:17 PDT 2025

Total time taken to generate the page: 0.56433 seconds