comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: passing arguments to a .sav file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: passing arguments to a .sav file [message #20578] Thu, 13 July 2000 00:00
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
<deckard_007@my-deja.com> wrote in message
news:8kkaev$7v9$1@nnrp1.deja.com...
> Hi,
>
> does anyone know whether it's possible to pass arguments to an exported
> .sav idl-runtime file ? I cannot find anything about this in the
> documentation.
> I want to be able to use my idl-program totally not interactive and I
> thought a .sav file would be the best way.

Hi,

Someone else may have a more definitive answer, but this is a PC-specific
solution for a sample IDL runtime application App.sav:

; Calling IDL runtime with parameters from DOS:
;
; <AppDir> is directory containing App.sav
;
; cd <AppDir>
; C:\RSI\IDL53\bin\bin.x86\idlrt.exe
app,'a-passed-string',parm1=42,/parm2
; ^---------your-path-here---------^
^-ABSOLUTELY-NO-SPACES-ALLOWED-HERE-^

Good luck!

--
-Dick

Dick Jackson / dick@d-jackson.com
D-Jackson Software Consulting / http://www.d-jackson.com
Calgary, Alberta, Canada / Voice/Fax: +1-403-242-7398
Re: passing arguments to a .sav file [message #20585 is a reply to message #20578] Thu, 13 July 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Henk writes:

> does anyone know whether it's possible to pass arguments to an exported
> .sav idl-runtime file ? I cannot find anything about this in the
> documentation.
> I want to be able to use my idl-program totally not interactive and I
> thought a .sav file would be the best way.

I could be wrong about this, but I don't think you can
pass arguments to a runtime application.

It would certainly be possible for a runtime application
to read, for example, a configuration file that you could
manipulate to get different behavior. But I can't think of
a way to get arguments into the program directly.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Lat/lon to UTM coords
Next Topic: Re: ENVI:Descritpion in memory for images

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 13:53:12 PDT 2025

Total time taken to generate the page: 0.00506 seconds