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

Home » Public Forums » archive » what am I doing wrong?
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: what am I doing wrong? [message #13031 is a reply to message #3602] Tue, 06 October 1998 00:00 Go to previous messageGo to previous message
Bruce Bowler is currently offline  Bruce Bowler
Messages: 128
Registered: September 1998
Senior Member
William Thompson wrote:
>
> Bruce Bowler <bbowler@bigelow.org> writes:
>

(stuff deleted)

>> if I run it as follows...
>
>> # idl
>> idl> .run 6953
>
>> it works fine...
>
>> if I run it like
>
>> # idl 6953
>
>> the results are
>
> (stuff deleted)
>
>> unfortunately, because of the way I need to interact with some other
>> stuff, I really need to run it the second way. What can I do to make it
>> work like the first way? I don't think precompiling will work either as
>> I generate the file "on the fly".
>
> If you're using Unix, then what you need to do is to create a file like the
> following:
>
> #!/bin/csh
> setenv MY_IDL_SCRIPT $argv
> idl << done
> .run $MY_IDL_SCRIPT
> done
>
> Use "chmod +x" to make the file executable, and then you can use this to
> execute whatever IDL script you want.

Unfortunately, as I said before, that won't work in my case. I am
passing this to a third party package that invokes it as

idl xxx

I have no control over that.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Restored Object Method Compilation
Next Topic: CENTERING TEXT

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

Current Time: Tue Oct 28 11:15:06 PDT 2025

Total time taken to generate the page: 1.28125 seconds