Page 1 of 1

Edit a preference file without rewriting the whole file...

Posted: Fri Aug 12, 2005 5:49 pm
by Joakim Christiansen
If I want to change something in a preference file I must rewrite the whole file...
That can be quite anoying some times, please do something about that. :wink:

EDIT: Removed foul language, sorry about that. :)

Posted: Fri Aug 12, 2005 6:26 pm
by Gansta93
Like File library. CreatePreferences would create (so overwrite an eventual existing file), OpenPreferences() would Open for Reading/Writting and would create it if it wouldn't exist, and ReadPreferences() would open just for reading. I think it would be good. And the possibility to use more than one file would be good too.

Re: Edit a preference file without rewriting the whole shit.

Posted: Fri Aug 12, 2005 9:22 pm
by PB
Please don't use foul language here, thanks.

Re: Edit a preference file without rewriting the whole shit.

Posted: Fri Aug 12, 2005 9:49 pm
by Joakim Christiansen
PB wrote:Please don't use foul language here, thanks.
It's how I talk, but I'll try to behave, sorry.