[fpc-pascal] THashedStringList doesn't honour CaseSensitive?

Giuliano Colla giuliano.colla at fastwebnet.it
Fri Sep 2 14:08:08 CEST 2016


In my application I stumbled into a problem with a search in a 
HashedStringList: IndexOfName doesn't return the proper index if the 
search string doesn't match the name case, even if CaseSensitive is set 
to false.

For common sense and Delphi compatibility 
(http://docwiki.embarcadero.com/Libraries/Berlin/en/System.IniFiles.THashedStringList_Properties) 
CaseSensitive should be supported.

Am I doing something wrong, or it is an fpc missing feature?

Verified both with fpc 2.6.4 and fpc 3.0.0

Giuliano





More information about the fpc-pascal mailing list