Flag for OpenPreference() ?

Just starting out? Need help? Post your questions and find answers here.
AZJIO
Addict
Addict
Posts: 2225
Joined: Sun May 14, 2017 1:48 am

Flag for OpenPreference() ?

Post 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