[Gambas-user] Settings file - preserver comments
T Lee Davidson
t.lee.davidson at gmail.com
Mon Feb 8 19:30:08 CET 2021
On 2/8/21 11:38 AM, Benoît Minisini wrote:
> 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.
If comments are not preserved, then why provide for them at all?
--
Lee
More information about the User
mailing list