On Sat, 23 Nov 2019, Bart via fpc-pascal wrote:
Hi, I experienced some strange behaviour with TJSONConfig.Clear. I'm using fpc 3.0.4 32-bit on Win10-64. (While I do have fpc trunk as well, the program is a Lazaurs GUI program and I don't like using Lazarus (trunk) in combination with fpc trunk.)
[snip]
I was unable to reproduce the issue in a simple test program that just writes values to a TJSONConfig. (In fact I started out writing simple test programs reading and writing TJSONConfig before trying to attempt to convince my addressbook application to write to a TJSONConfig in the first place) Before you ask: my app doesn't use threads. Any thoughts on this?
Without complet code hard to say. Sounds like you don't clear the list with persons between runs, so persons are added ? Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal