On Sun, 10 Feb 2013, Bart wrote:
When you do something like StringList1.Strings[Index] := Value it calls TStringList.Put(). I would expect that if Value = Strings[Index] then nothing happens, and no Change or Changing are called.
You expect wrong. No supposition is made whatsoever on the value. Every write in the list triggers a change. This is how delphi implements it, and that is how we implemented it. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal