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 #74735 is a reply to message #74733] Mon, 31 January 2011 14:14 Go to previous messageGo to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
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.
[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 13:58:00 PDT 2025

Total time taken to generate the page: 0.00467 seconds