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

Home » Public Forums » archive » Input parameters in a DOS menu driven routine.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Input parameters in a DOS menu driven routine. [message #34331] Wed, 05 March 2003 18:21
lucianor is currently offline  lucianor
Messages: 12
Registered: June 2002
Junior Member
Hi,

I have a fortran exe file which I run, then I have to input some
parameters and finally I obtain a result (this all happens of course
in a DOS window). Something like:
C:\>program.exe
C:\>input temperature:
C:\>input density:
and so on
c:\>The result is: 5

Now, how can I do this from IDL? I can call the file with Spawn but
then how do I input the parameters? I was trying to Spawn a batch file
wich runs some programs I found on the web which simulate pre-defined
keystrokes, but all of them have the problem that no more than 15
keystrokes could be passed (I need more than 15)...

Of course there is also the question on how do I take the final result
of the fortran routine back to IDL...


Any ideas?


thanks.

Luciano.
[Message index]
 
Read Message
Previous Topic: Filling voxels with xyz point data
Next Topic: Re: HDF_DFSD_ADDDATA: Invalid HDF file or filename (test.hdf).

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

Current Time: Fri Oct 10 10:36:40 PDT 2025

Total time taken to generate the page: 0.96168 seconds