Page 1 of 1

Flag for OpenPreference() ?

Posted: Fri Aug 09, 2024 1:51 pm
by AZJIO
I use OpenPreference() in cases to create a list, for example

Code: Select all

[color]
FFFFFF
FF0000
0000FF
But if I add new lines to such a list using WritePreferenceString(), I will get the "=" character at the end of the line

Code: Select all

[color]
FFFFFF=
FF0000=
0000FF=
Is it possible to add a flag that will prohibit adding "=" for empty parameters