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 #50583 is a reply to message #50581] Mon, 09 October 2006 12:32 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
David Fanning <davidf@dfanning.com> writes:

> 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.

OK, thanks! I made the changes in my local copy and it seems to work
fine.

I'm sort of afraid to convert all of my stuff wholesale to array[]
notation... it's hard to test everything.

Thanks to all the replies!
Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[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: Wed Oct 08 18:01:09 PDT 2025

Total time taken to generate the page: 0.00419 seconds