[fpc-pascal]Warning: TStrings.IndexOf() behaviour changed.

Michael.VanCanneyt at Wisa.be Michael.VanCanneyt at Wisa.be
Fri May 30 08:27:12 CEST 2003


Hi,

A warning:

For those using the Classes unit from the FCL. There has been a relatively important
change in the behaviour of the TStrings class. The IndexOf() method is from now on
case insensitive, as is it in Delphi. Till now it was case sensitive. The
IndexOfName() method has been case insensitive from the very start of the
implementation, and has not been changed.

As no-one has complained about this incompatibility before, this warning may
not be necessary, but it was pointed out to me that this change may impact
quite some code and that users should know about it.

You have been warned ! :)

Michael.





More information about the fpc-pascal mailing list