Re: [fpc-devel] TIniFile with option ifoWriteStringBoolean

2022-03-17 Thread Armin Linder via fpc-devel
Already filed incident #39625 My way to express the issue was that if you set the ifoWriteStringBoolean option but do not assign the string array(s), WriteBool will write a string to the ini file which ReadBool cannot correctly read back. Furthermore, since the ifoWriteStringBoolean  option i

Re: [fpc-devel] TIniFile with option ifoWriteStringBoolean

2022-03-16 Thread Michael Van Canneyt via fpc-devel
On Wed, 16 Mar 2022, Bart via fpc-devel wrote: Hi, User Nimral in the wiki noted this: If you specify ifoWriteStringBoolean in Options for TIniFile _and_ you forget to assign values to BoolTrueStrings/BoolFalseStrings, then writing and reading boolean values is not symmetrical. Writing a boo

[fpc-devel] TIniFile with option ifoWriteStringBoolean

2022-03-16 Thread Bart via fpc-devel
Hi, User Nimral in the wiki noted this: If you specify ifoWriteStringBoolean in Options for TIniFile _and_ you forget to assign values to BoolTrueStrings/BoolFalseStrings, then writing and reading boolean values is not symmetrical. Writing a boolean will write either 'true' or 'false', but reading