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

Home » Public Forums » archive » Re: a simple hack!Re: How do I save parameters for next run?
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: a simple hack!Re: How do I save parameters for next run? [message #38898 is a reply to message #38897] Tue, 06 April 2004 17:47 Go to previous messageGo to previous message
Yunxiang Zhang is currently offline  Yunxiang Zhang
Messages: 19
Registered: October 2003
Junior Member
I once tried this from within the .sav file. And I got the error like
'EXECUTE function not available'. If I remember correctly, that is one of
the drawbacks of IDL virtual machine. So is it possible to avoid using
EXECUTE function in your cmsvlib? Thanks!

Yunxiang


On 6 Apr 2004, Craig Markwardt wrote:

> Yunxiang Zhang <yxzhang@stanford.edu> writes:
>
>
>> Folks,
>>
>> Thanks for all your input here. I was trying to look into Craig's
>> library and see if I can come up with a solution. But it turned to be
>> a little bit complicated for me. Today, I finally did it with a simple
>> hack by appending the default data to the end of the .sav file. The code
>> will read itself, the .sav file, to get the default value and after user
>> input it will update the data appended. The only drawback is you can't run
>> the program before you generate the .sav file and append the default data
>> to the end of the .sav file. Here's how the code looks like,
>
> Rather than hacking some arbitrary data onto the end of the save file,
> why not append the entries directly to the save file as legitimate
> save-file variables?
>
> You should be able to do this with CMSAVE, ..., /APPEND
>
> 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: volume transparency in iVolume
Next Topic: Re: plotting x vs. (y & T) in 2 dimensions?

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

Current Time: Sun Oct 12 08:03:23 PDT 2025

Total time taken to generate the page: 1.91995 seconds