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

Home » Public Forums » archive » Preferences file for/from a runtime application
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: Preferences [message #31144 is a reply to message #15073] Mon, 10 June 2002 18:57 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Niel Malan writes:

> I often find my self in need of a file that contains information specific to a user or application, such as axis settings, or
> file locations, stuff that needs to be adjustable, but mostly stays the same. Usually I cobble together a few functions and a
> text file with some kind of format.
>
> I've had a look on the web, but could not find anything specific enough. This might be because I use the wrong search terms.
>
> Is there a IDL function library somewhere that provides a generalised 'preferences' or options system?
>
> Does anybody else have the same need?

I often have the need, but I do the same as you:
cobble something together. I think it would be
almost impossible to write a "generalized"
preferences system, although I'm sure if you
gave it a try you would be using an object of
some sort. :-)

Objects are a terrific way to keep track of the
current "state" of something. They are used, for
example, in FSC_PSConfig to keep track to the
current state of the PostScript device and in MPI_Plot
to keep track of current line plot settings.

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-Mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: speed up the display on Linux
Next Topic: Viewer for Maximum Intensity Projection images

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

Current Time: Sun Oct 12 07:07:53 PDT 2025

Total time taken to generate the page: 0.96241 seconds