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

Home » Public Forums » archive » 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: How do I save parameters for next run? [message #38959 is a reply to message #38836] Thu, 01 April 2004 23:23 Go to previous messageGo to previous message
Pepijn Kenter is currently offline  Pepijn Kenter
Messages: 31
Registered: April 2002
Member
Yunxiang Zhang wrote:
> Hi,
>
> Sorry for the confusion. I just want my stand alone application to have a
> small "memory" interactively. For example, I have a program, say,
> 'mypro.sav' and needs user to input a series of parameters, say p1, p2
> ...pn through an input gui. Then the program runs perfect. But then if
> the next run the user only need to change a small fraction of the
> parameters, it would be nice that my program can have a small memory so
> that my gui displays the parameters input last time and the user need
> only change maybe one parameter and press 'enter' to continue the
> rest of the calculations.
>

It seems to me that the best design is to let the gui remember the last
users parameters. The mypro program must only care about the values of
the parameters, not about user convenience. This approach has the
advantage that, if you later decide that some parameters should not be
shared between users, you'll only have to change the gui, the myprog
program can remain unchanged.

Of course, the gui will need a config file if you want the values to be
remembered when the gui is closed. :-)

Pepijn.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Callable IDL on Fedora 1
Next Topic: Widget Objects

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

Current Time: Fri Oct 10 00:11:30 PDT 2025

Total time taken to generate the page: 0.11007 seconds