Subscript by -1 HARD to Track Down [message #84761] |
Fri, 07 June 2013 13:13  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Folks,
Wow, that new ability in IDL 8 to subscript an array by -1 can be a HARD
bugger to track down when it goes wrong. :-(
I may have to put that one on my Most Pernicious list.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|
|
Re: Subscript by -1 HARD to Track Down [message #84763 is a reply to message #84762] |
Fri, 07 June 2013 13:49  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
John Correira writes:
> Is there a compile option to turn this "feature" off?
Probably. I just have to remember to put it into every program module
I've ever written. :-)
Cheers,
David
P.S. Which, of course, breaks all my programs and prevents them from
being run in anything but IDL 8. Happy updating everyone! ;-)
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|