Recent

Author Topic: TList  (Read 29405 times)

mrmizak

  • New Member
  • *
  • Posts: 14
Re: TList
« Reply #15 on: December 13, 2013, 01:28:02 pm »
You can use TList<Integer> from Generics.Collections

https://code.google.com/p/fpc-generics-collections/

cdbc

  • Hero Member
  • *****
  • Posts: 1090
    • http://www.cdbc.dk
Re: TList
« Reply #16 on: December 13, 2013, 04:44:41 pm »
Hi
How about typecasting your integer data to a pointer and use TList directly, ie. quick and dirty  :D or maybe ptrint ;-)

Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 2.2.6 up until Jan 2024 from then on it's: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 3.0

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: TList
« Reply #17 on: December 14, 2013, 07:29:07 am »
Quote
You can use TList<Integer> from Generics.Collections
Forgot to mention this lovely Delphi compatible implementation :D

mangakissa

  • Hero Member
  • *****
  • Posts: 1131
Re: TList
« Reply #18 on: December 14, 2013, 09:16:34 am »
Hi
How about typecasting your integer data to a pointer and use TList directly, ie. quick and dirty  :D or maybe ptrint ;-)

Regards Benny
Read post #13
Lazarus 2.06 (64b) / FPC 3.0.4 / Windows 10
stucked on Delphi 10.3.1

mrmizak

  • New Member
  • *
  • Posts: 14
Re: TList
« Reply #19 on: December 14, 2013, 01:00:41 pm »
Forgot to mention this lovely Delphi compatible implementation :D

The library Generics.Collections is good because it is not created by Embarcadero at all  >:D. It is inspired by "C5 Generic Collection Library" ( http://www.itu.dk/research/c5/ ) - mentioned in the document "RADStudioXE2_ThirdPartyLicense.rtf".

 

TinyPortal © 2005-2018