System Variables & .sav files [message #40221] |
Mon, 26 July 2004 13:52  |
hyperjiver
Messages: 10 Registered: July 2004
|
Junior Member |
|
|
Hello -
I am trying to create a stand alone application from a an extensive
program that is used for image processing. The part I am trying to
work on now is the part where the user chooses the default directory.
I have this application working from the IDL window or the command
prompt, but when I try to run it through the .sav file I create (after
Resolve_All & also compiling other programs that are not explicitly
called), I get a Run time error 'Not a legal system variable'. I have
a seperate setup.pro program that I run to set all System variables
using DEFSYS and I am not able to figure out where I am going wrong. I
have the following questions and it will be great if you pro's can
help me with my problem. [I have been working with IDL only for the
last two weeks and I am learning as I go..., so excuse the silly
questions]
1) Do system variables have to be declared in a different way if I
intend to run a stand alone application?
2) Is there a different way to save the .sav file[I used
save,/routines, filename = "somefile.sav"] to have the system variable
definitions to be legal?
3) Has anyone here encountered similar problems and have a solution to
it?
Thank you very much for your time,
Cheers,
-HJ
|
|
|