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 #40813] Fri, 03 September 2004 02:10 Go to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
On Thu, 02 Sep 2004 14:09:45 -0400, Paul Van Delst wrote:

> 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?
>
> I adapted the IDL code "Create_HTML_Doc" to work on my Fortran95 code to produce web pages
> of the header docs. I have a unix make file that bundles up all my Fortran source into
> tarballs for delivery. What I would like to do is also generate the HTML files in the same
> make file.
>
> So, if I have call the code like so in IDL:
>
> IDL> create_f90_html_doc, filelist
>
> where filelist is an array of files to parse, is it possible to call this directly from
> the OS prompt?
>
> I'm pretty sure it is, but bugger me if I can figure out how.
>
> Thanks for any tips,
>
> paulv

You can use the shell 'here-document' operator <<.

$idl << EOF
create_f90_html_doc, filelist
exit
EOF


This also works in shell scripts.

--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
[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: Sat Oct 11 03:35:42 PDT 2025

Total time taken to generate the page: 1.28074 seconds