Thanks for the input Richard but it won't work in my case since I alter a existing config file with lots of comments.
Anyway, I written a simple routine that solves the problem. > -----Original Message----- > From: RICHARD WALKER [mailto:richard.j.wal...@ntlworld.com] > Sent: Saturday, October 20, 2012 12:16 AM > To: mailing list for gambas users > Subject: Re: [Gambas-user] Suggestion for gb.settings component > > Just a thought, Christer, but have you tried using "comment" entries > in your settings? What I mean is have, for example, a settings key > like: > > "MyprogState/comment" > > which would give you an entry like: > > [MyprogState] > comment=Any string you like to describe this section > > You can ignore the comment entries yourself when reading the .conf > file, or re-write them if it makes sense to do so. > > Just a thought... /CJ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user