Recent

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

Robert Gilland

  • Full Member
  • ***
  • Posts: 160
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: 868
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) & Windows XP Pro (x86 Sp3).

PascalDragon

  • Hero Member
  • *****
  • Posts: 5469
  • 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: 868
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) & Windows XP Pro (x86 Sp3).

 

TinyPortal © 2005-2018