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

Home » Public Forums » archive » Re: IDL, scripts and command line arguments?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL, scripts and command line arguments? [message #30007 is a reply to message #30006] Wed, 27 March 2002 17:56 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"David Fanning" <david@dfanning.com> wrote in message
news:MPG.170c1ddc7a5616b8989855@news.frii.com...
> Michael A. Miller (mmiller3@iupui.edu) writes:
>

>> Does anyone have any suggestions on ways to trick IDL into getting
>> access to command line arguments (argv- and argc-like
>> functionality)? The only trick I've come up with so far is to
>> write a script in <scripting-language-of-choice> that writes an idl
>> procedure with the parameters hard coded into it and then executes
>> it. It's not very pretty though and I wonder if there are any
>> other possibilities...
>
> I think that about sums up the possibilities, really. :-)

Come on, David! There are lots of other possibilities. Unfortunately
most of them are even uglier than writing .pro files on the fly. :-)

One Unix you can send information to console-mode IDL via
stdin. Eg. typing this at a shell prompt...

echo "plot, findgen(11) & wait, 1" | idl

...shows a plot window for a second.

--
Mark Hadfield
m.hadfield@niwa.co.nz Ka puwaha et tai nei
http://katipo.niwa.co.nz/~hadfield Hoea tatou
National Institute for Water and Atmospheric Research (NIWA)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: idlde on mswin vs unix
Next Topic: map_grid and western longitudes

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

Current Time: Fri Oct 10 20:13:13 PDT 2025

Total time taken to generate the page: 1.19868 seconds