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

Home » Public Forums » archive » Re: Running IDL from the OS command line
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: Running IDL from the OS command line [message #40821 is a reply to message #40820] Thu, 02 September 2004 12:26 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
Paul Van Delst <paul.vandelst@noaa.gov> writes:

> Hello,
>
> This is probably an easy question, but I couldn't find any information in hte IDL manuals
> (mostly because I wasn't sure what the correct terminology was).
>
> Can you run regular old IDL .pro functions from the OS prompt?

Paul, you can run an IDL command *script* from the unix command line.

By "command script" I mean anything that you can load with
@filename.pro from the command prompt. Just like the real command
line, you can't use complex multi-line syntax, but you can call
procedures that do.

You invoke it as
idl filename.pro

Be sure to put any EXIT commands or whatever else you need to quit
out. You don't need an END command since this is a command script.

I generally wrap my IDL command line invocations with a shell script
that also sets up the IDL_PATH.

Good luck,
Craig

--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: delete common block
Next Topic: Re: IDL with XP crashes. Is it normal???

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

Current Time: Fri Dec 05 02:41:50 PST 2025

Total time taken to generate the page: 0.01567 seconds