Hi I use a settings file but when i write to it the comments line made with ; or # at the start of the line dissapears on update of any value. I would like to keep comments if the settings file is opened in a texteditor so the user can get some tips on the values in the file. Regards Chris