I'm having an issue: I've written a series of procedures and functions in IDL that I'd like to use in ENVI. They all work nicely in IDL, and I've saved them with (save, /routines) and put them in the ENVI save-add folder. I open ENVI and check all the compiled functions/procedures, and indeed, my programs are all present and accounted for.
However, when I run the scripts, one of my compiled functions (named "exclude") always breaks and I get the error:
% Variable is undefined: EXCLUDE.
I've rechecked my compiled functions, and exclude is still there. I can even run it at the ENVI command prompt just fine, just not at runtime. Any suggestions/help?
|