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

Home » Public Forums » archive » Re: Library/Functions to write configuration file for 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: Library/Functions to write configuration file for application [message #74733 is a reply to message #74729] Mon, 31 January 2011 15:55 Go to previous messageGo to previous message
Karl[1] is currently offline  Karl[1]
Messages: 79
Registered: October 2005
Member
On Jan 31, 3:14 pm, Paulo Penteado <pp.pente...@gmail.com> wrote:
> On Jan 31, 8:04 pm, Robin Wilson <ro...@rtwilson.com> wrote:
>
>> This is the sort of format I was thinking of, but I wasn't sure how to
>> parse it in a nice way. 'Nice' in this context means that:
>
>> * It can cope with strings, integers and floats
>> * The order of the file either doesn't matter, or can be changed fairly
>> easily
>> * New parameter names can be added to the code fairly easily
>> * Comment characters can be used
>> * Preferably that I don't have to write loads and loads of IF statements
>> to parse the file correctly.
>
>> Is something along those lines fairly easy to do myself? Or should I
>> wait for Paulo's routines?
>
> That is pretty much what those text file routines do. I will clean
> them up and post them later, and you can decide if they seem useful.

XML is good for something like this.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: new graphics map coords
Next Topic: Re: IDL 8 NG widget problem

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

Current Time: Wed Oct 08 15:55:39 PDT 2025

Total time taken to generate the page: 0.00430 seconds