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

Home » Public Forums » archive » IDL 8.0 compile_opt changes
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: IDL 8.0 compile_opt changes [message #69256 is a reply to message #69187] Thu, 24 December 2009 05:07 Go to previous messageGo to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Dec 24, 1:13 am, pp <pp.pente...@gmail.com> wrote:

>> I think most people could probably put a "compile_opt idl1" into their
>> code without breaking it.
>
> If he does that, he will break the code for use with older versions,
> since the option idl1 does not exist in them.

Maybe it would be better then to have a flag (or separate icon) when
starting up IDL, e.g.

idl -classic

that would recognize the parentheses indexing (and thus *not*
recognize the new method syntax). This would ensure that users
could run their old code, but also encourage them to take the 20
minutes to automatically convert their code to use square bracket
indices. (Note that IDL currently knows when () is used as an index
and when it is used for a function in a pre-8.0 procedure -- since it
knows the names of all variables -- so the conversion can certainly be
automated.) --Wayne
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: envi_title_bar.ico missing and null pointer dereferenced error when using .sav file in ENVI
Next Topic: A routine to annotate PS files

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

Current Time: Fri Oct 10 15:03:01 PDT 2025

Total time taken to generate the page: 0.08134 seconds