[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: User selectable lower array bound?
Craig Markwardt <firstname.lastname@example.org> writes:
>Paul van Delst <email@example.com> writes:
>> Hey there,
>> Is is just me, or would anyone else find useful the ability to define arrays in IDL such
>> that the lower bound is *not* always zero? Sorta like:
>> x = FINDGEN( 11, LOWER = -5 )
>> y = DBLARR( 100, LOWER = 1 )
>> so that accessing elements such as x[ -4 ] or y[ 100 ] are o.k.?
>Well, as grumpy as I have been in the past about IDL wishes, this is
>one thing I do not want to have in IDL now!
I'm glad I'm not the only one! When I first saw this proposal, I thought to
myself that I could hear the tinkly sound of code breaking all over the place.