Re: Most Common IDL Programming Errors [message #59746 is a reply to message #59738] |
Wed, 09 April 2008 01:01   |
Maarten[1]
Messages: 176 Registered: November 2005
|
Senior Member |
|
|
On Apr 9, 12:13 am, David Fanning <n...@dfanning.com> wrote:
> Here are the three errors I most commonly see in IDL programs.
[snip]
> What would be on your list? Of course, typos are assumed. :-)
How about any code that does not use
compile_opt defint32, strictarr, strictarrsubs
Yes, the first two can be combined with idl2, which gives you an idea
how long overdue it is to make this the default. I prefer this way,
because it does give you some idea of what changes. You can put this
in your startup script, and avoid an awful amount of surprises.
The other errors I observe in IDL code are mostly part of the syntax
itself :p
Maarten
|
|
|