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

Home » Public Forums » archive » Re: passing multiple commands to idl from 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: passing multiple commands to idl from command line [message #50892] Wed, 25 October 2006 12:57 Go to previous message
Foldy Lajos is currently offline  Foldy Lajos
Messages: 268
Registered: October 2001
Senior Member
On Wed, 25 Oct 2006, Dominic wrote:

> Hi,
>
> So, you can do:
>
> % echo "print, 'foo' & print, 'bar' " | idl
>
> but is there a way to have multiple ".compile" commands on one line?
>
> % echo "print, 'compiling foo & .compile 'foo.pro' & print, 'compiling
> bar & .compile 'bar.pro' " | idl
>

% echo "print, 'compiling foo & .compile 'foo.pro' & print, 'compiling
bar' & .compile 'bar.pro' " | sed 's/&/\n/g' | idl

> I need to call .compile multiple times and dont want to have to start
> IDL every time.
> Is there a way to do this?
>
> Is there a better way to achieve this without starting up idl? i.e.
> Can you use the compiler without starting up IDL?
>

the compiler is built into IDL, so the answer is no.

regards
lajos


> thanks and best regards,
>
> dometz
>
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Reading in a non-rectangular array
Next Topic: Commutativity of multiplication

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

Current Time: Fri Oct 10 20:16:55 PDT 2025

Total time taken to generate the page: 1.59898 seconds