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

Home » Public Forums » archive » Program to convert (i) to [i] ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Program to convert (i) to [i] ? [message #73560] Fri, 19 November 2010 13:27 Go to previous message
M. Katz is currently offline  M. Katz
Messages: 69
Registered: May 2005
Member
Some time ago, in a posting before the release of IDL 8, I remember
people discussing the forced use of square brackets [] for array
indices. While I have been thoroughly converted to square bracket
arrays since the early 2000s, I still rely on thousands of lines of
older code that has a lot of parentheses ().

Someone mentioned a program that could intelligently convert code en
masse, but I cannot now find that reference. Can anyone point me in
the correct direction, or share their experience with using it? How
does it know which of your labels are your own .pro functions and
which are variable names when there is an ambiguity?

Is there a COMPILE_OPT setting to allow the use of older () array
indices? I'm running IDL 8.0.1 now.

Thanks,
M.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Correct Image Resizing -- New Coyote Program
Next Topic: IDL 8.0.1 ARG_PRESENT question

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

Current Time: Wed Oct 08 17:04:25 PDT 2025

Total time taken to generate the page: 0.00417 seconds