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

Home » Public Forums » archive » Re: Config files
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: Config files [message #47402] Thu, 09 February 2006 11:05 Go to previous message
mmiller3 is currently offline  mmiller3
Messages: 81
Registered: January 2002
Member
>>>> > "savoie" == savoie <savoie@nsidc.org> writes:

> ini = Obj_New('mhs_iniread', file='inifile.txt')

Have you considered using APP_USER_DIR to handle where you put
the configuration file? I'm about to add some configuration
handling to an application and am thinking of using it to make
sure each user can easily save their own parameters.

As for parsing the configuration data, I've considered using save
files, but it seems to me that the simplest format would be to
have the configuration saved as IDL code. Then it can be edited
by hand if the user wants or reloaded by EXECUTE'ing the contents
of the file.

Mike
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: help with text widget...
Next Topic: Re: IDLWave documentation generation

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

Current Time: Wed Oct 08 19:16:07 PDT 2025

Total time taken to generate the page: 0.00702 seconds