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

Home » Public Forums » archive » 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
passing arguments to a .sav file [message #20587] Thu, 13 July 2000 00:00 Go to next message
deckard_007 is currently offline  deckard_007
Messages: 2
Registered: July 2000
Junior Member
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.

Thanks,

Henk


Sent via Deja.com http://www.deja.com/
Before you buy.
Re: passing arguments to a .sav file [message #20671 is a reply to message #20587] Fri, 14 July 2000 00:00 Go to previous message
Dick Jackson is currently offline  Dick Jackson
Messages: 347
Registered: August 1998
Senior Member
Hi again,

The word-wrapping in my last posting didn't help at all. Let's try again:

Call IDL runtime with by issuing these commands to a DOS shell:

CD <AppDir> (where <AppDir> is directory containing App.sav)

C:\RSI\IDL53\bin\bin.x86\idlrt.exe app,'a-passed-string',parm1=42,/parm2

^---------your-path-here---------^ ^-ABSOLUTELY-NO-SPACES-ALLOWED-HERE-^

This launches IDLRT, calling the procedure 'app' which it finds in app.sav,
passing the three parameters as if it were done from the IDLDE command line.
I could not find a way to get around the no-spaces restriction, perhaps
someone can make a suggestion.

Sorry for any confusion arising from my previous posting.

Cheers,
--
-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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Win 95 question
Next Topic: Win 95 question

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

Current Time: Sun Oct 12 13:43:32 PDT 2025

Total time taken to generate the page: 0.56060 seconds