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 #50589 is a reply to message #50587] Mon, 09 October 2006 11:00 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Craig Markwardt writes:

> Should I put the .compile_opt statement *within* each individual
> function in the module?

Absolutely. I'm not sure where you are using the
compile_opt statement (no period in front of it,
by the way), but if you use it at the IDL main
level, it is defined at the main level. If you
want it in effect inside procedures and functions,
it will have to be declared inside each and every
procedure or function you want to use it in.

Done this way to ensure backward compatibility, not
to make your life easier. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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: Thu Oct 09 20:42:55 PDT 2025

Total time taken to generate the page: 0.32011 seconds