Main Page | Report Page


  Computers Forum Index » Computer Languages (IDL-PVWAVE) » run .sav file with -args...

Author Message
Ben Tupper...
Posted: Tue Nov 16, 2010 4:24 am
On 11/15/10 5:42 PM, Truong Le wrote:
On Nov 15, 3:31 pm, Truong Le<truong... at (no spam)> wrote:

what do I need to modify to run the .sav file from the window
I know that window doesn't run idl but idlde so any help is


Look at the online docs for "Command Line Options for IDL Startup" (in
IDL 7 help it is buried in "IDL Users' Guides > Using IDL > Introducing
IDL") - scroll to the bottom for Windows specific info regarding this.

David Fanning...
Posted: Tue Nov 16, 2010 6:17 am
Truong Le writes:

I thought you can name the .sav file whatever you want to.

Yes, as long as it is the name of the program you are trying
to run. :-)



David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming:
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Ben Tupper...
Posted: Tue Nov 16, 2010 6:17 am
On 11/15/10 10:03 PM, Truong Le wrote:


Hi Ben,

I have successfully executed the example above in the window
environment and
so I set out to build a more complicated procedures that I need to
create for
my work. After I build my .sav file from using idlde and ran the .sav
using idlrt -vm=filename.sav -args param1 param2 ...

I get the attempt to call undefined procedure/function:'filename'
The .sav file is in the directory. Please let me know what I did


I suspect that this is *not* an issue with the Virtual Machine. To get
the most useful help from the list, you should post the complete error
message - exactly as IDL prints it.

Without more info we can only guess, and my guess is that somewhere you
have a variable called "filename" that you are indexing with parentheses
instead of square brackets.

filename(i) <-- IDL might think filename is a function
filename[i] <-- an element of a variable 'filename'

But, then again, you might actually have a routine called 'filename'
that didn't get compiled and stuffed into the save file, but,
nonetheless, gets called by the code that did make it into the save file.

Page 2 of 2    Goto page Previous  1, 2
All times are GMT
The time now is Thu Apr 24, 2014 3:36 am