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

Home » Public Forums » archive » Re: .compile_opt strictarr is persistent?
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: .compile_opt strictarr is persistent? [message #50566 is a reply to message #50558] Tue, 10 October 2006 00:22 Go to previous messageGo to previous message
Maarten[1] is currently offline  Maarten[1]
Messages: 176
Registered: November 2005
Senior Member
David Fanning wrote:
> mgalloy@gmail.com writes:
>
> Indeed, I stumbled onto this in an IDL programming class
> I was teaching. But COMPILE_OPT STRICTARR in an IDL startup
> file does wonders for re-programming the finger/brain
> connections. :-)
>
> Cheers,
>
> David
>
> P.S. Of course, the same thing is true of COMPILE_OPT DEFINT32.
> VERY nice!

I have

compile_opt defint32, strictarr, strictarrsubs, obsolete
!WARN.OBS_ROUTINES

in my idl startup file. Works really well in cleaning up code. Now, if
only there was a command-line switch to make all float constants typed
at teh command line default to double, I'd be really happy.

Maarten
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Low pass filter - Problem with kernel
Next Topic: string functions and arrays

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

Current Time: Fri Oct 10 05:34:39 PDT 2025

Total time taken to generate the page: 1.84318 seconds