Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-06

Lazarus and Linked Lists

7 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Denis Kozlov
to Terry A. Haimann

FPC has a couple of internal linked list implementations but they are not exposed publicly, see:
* TLinkedList class in "compiler\cclasses.pas".
* TLinkedList class in "rtl\objpas\classes\sllist.inc".

Also, it is fairly easy to implement yourself following the pseudo code from wikipedia:
https://en.wikipedia.org/wiki/Linked_list
https://en.wikipedia.org/wiki/Doubly_linked_list
https://en.wikipedia.org/wiki/Category:Linked_lists

Denis

Terry A. Haimann wrote 15 lines
Is there any documentation on using this object? On Wed, 2018-06-27 at 13:06 +0200, Mattias Gaertner via Lazarus wrote: > On Wed, 27 Jun 2018 05:57:12 -0500 > "Terry A. Haimann via Lazarus" wrote: > >> Dumb question, >> >> Is there a basic linked List object for Lazarus? > Have you seen the answer on the fpc list? > > http://lists.freepascal.org/pipermail/fpc-pascal/2018-June/054287.htm > l > > Mattias

Reply by email