Recent

Author Topic: CustomSort of TStringList seems to be broken in 0.9.30  (Read 2534 times)

Robert Gilland

  • Full Member
  • ***
  • Posts: 146
CustomSort of TStringList seems to be broken in 0.9.30
« on: July 25, 2011, 06:42:31 am »
All because of this new conditional FPC_TESTGENERICS which changes the correct behavior of

TStringListSortCompare = function(List: TStringList; Index1, Index2: Integer): Integer;                   

to


  TStringListTextCompare = function(const s1, s2: string): PtrInt of object;   

What is going on?

Kind Regards,

Robert.

RAW

  • Hero Member
  • *****
  • Posts: 794
Re: CustomSort of TStringList seems to be broken in 0.9.30
« Reply #1 on: August 16, 2019, 12:30:30 am »
I was just playing around with this sort of things ...  :)
Windows 7 Pro (x64 Sp1) And Windows XP Pro (x86 Sp3) - LAZARUS 2.0.4 FPC 3.0.4 - TRUNK 2.1.0 FPC 3.3.1

PascalDragon

  • Hero Member
  • *****
  • Posts: 706
  • Compiler Developer
Re: CustomSort of TStringList seems to be broken in 0.9.30
« Reply #2 on: August 16, 2019, 09:35:52 am »
Did you really have to necro this thread?  >:(

RAW

  • Hero Member
  • *****
  • Posts: 794
Re: CustomSort of TStringList seems to be broken in 0.9.30
« Reply #3 on: August 16, 2019, 09:36:53 pm »
I don't see the problem here, but if that's a big problem then just delete my posts...
I'm not mad or bothered if you do that !!! How hard is it to delete two posts? I guess one of the mods can handle that very easily. No problem at all!
Windows 7 Pro (x64 Sp1) And Windows XP Pro (x86 Sp3) - LAZARUS 2.0.4 FPC 3.0.4 - TRUNK 2.1.0 FPC 3.3.1