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

Home » Public Forums » archive » Passing Batch File Names
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 Batch File Names [message #62296] Tue, 02 September 2008 08:41
Trae is currently offline  Trae
Messages: 23
Registered: May 2007
Junior Member
Hey everyone,

I have a code that calls a batch file to assign variables that I want
the main level program to have. The names of the variables and the
number may change randomly, and not by me, so I didn't want to use a
procedure where I would have to change it every time an alteration was
made in the save file.

Now, I need to execute a batch file whose name is passed by another
program. I've used call_method, call_procedure, and call_function,
but I see nothing like call_batch.

My current fix is the following:

spawn, 'cp ' + in_name+' temp_name.pro'

@temp_name.pro


This doesn't seem very clean, but it makes all of the variables
available to the main level.

Any brighter ideas?

-Trae
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: 3D phase diagram drawing
Next Topic: Re: Regressions with a forced intercept...

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

Current Time: Wed Oct 08 13:49:07 PDT 2025

Total time taken to generate the page: 0.00499 seconds