[Lazarus] Lazarus and Linked Lists

Denis Kozlov dezlov at gmail.com
Wed Jun 27 19:32:09 CEST 2018


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


On 27/06/2018 07:24, Terry A. Haimann via Lazarus wrote:
> 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" <lazarus at lists.lazarus-ide.org> 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



More information about the Lazarus mailing list