[Gambas-user] Settings file - preserver comments

Benoît Minisini g4mba5 at gmail.com
Mon Feb 8 17:38:03 CET 2021


Le 08/02/2021 à 08:41, pf a écrit :
> 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
> 
> 

No, because the settings file format is internal, and can change at any 
moment without notice.

The fact that it looks like Windows '*.ini' file is a pure coincidence.

Regards,

-- 
Benoît Minisini


More information about the User mailing list