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

Home » Public Forums » archive » Re: Making SAV files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Making SAV files [message #24292] Fri, 23 March 2001 17:45 Go to next message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
"Pavel A. Romashkin" <pavel.romashkin@noaa.gov> writes:

> Hi,
>
> When I make a .sav file, is there a way to specify the command that will
> be executed when the file is double-clicked on? What I have now, is IDL
> tries to execute the following when I double-click on a .sav file:
>
> RESTORE, Filename & Filename
>
> which results in error in 95% of the cases. However, it would be very
> useful to be able to do, lets say:
>
> RESTORE, Filename & Related_pro, Filename
>
> But how to specify this Related_pro?

I'm going to pull a David here and ask why you are trying to fight the
flow. The behavior of IDL from at least version 4 (!) has been to
associate a save filename containing compiled routines with a
procedure of the same name. I know that people have requested a way
to pass command line arguments, and that is a legitimate request. But
otherwise, why not just do like the Romans do?

Craig


--
------------------------------------------------------------ --------------
Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
------------------------------------------------------------ --------------
Re: Making SAV files [message #24364 is a reply to message #24292] Mon, 26 March 2001 10:37 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
Simply because I am *not* asking to call another command when restoring
a file with routines. I'd like to do that when restoring a file with
variables, and call a routine on that newly restored variable.

Cheers,
Pavel

Craig Markwardt wrote:
>
> "Pavel A. Romashkin" <pavel.romashkin@noaa.gov> writes:
>
> I'm going to pull a David here and ask why you are trying to fight the
> flow. The behavior of IDL from at least version 4 (!) has been to
> associate a save filename containing compiled routines with a
> procedure of the same name. I know that people have requested a way
> to pass command line arguments, and that is a legitimate request. But
> otherwise, why not just do like the Romans do?
>
> Craig
>
> --
> ------------------------------------------------------------ --------------
> Craig B. Markwardt, Ph.D. EMAIL: craigmnet@cow.physics.wisc.edu
> Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
> ------------------------------------------------------------ --------------
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: idl5.4.1
Next Topic: idl5.4.1

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

Current Time: Wed Oct 08 22:10:01 PDT 2025

Total time taken to generate the page: 3.27904 seconds