Board index » delphi » don't know if list works fine
Jan Theegarten
![]() Delphi Developer |
Wed, 29 Aug 2001 03:00:00 GMT
don't know if list works fine
hi
I have a problem with a linked list. var I'm not really sure, if all the memory is freed. Perhaps someone can tell me, if something's wrong with it. Thx ////////////////// unit LList ///////////////////// unit LList; interface Type PListEntry = ^TListEntry; TLinkedList = class( TObject ) public constructor Create; procedure Add( Data : TObject ); procedure Clear; property Count : Integer read FCount; implementation constructor TLinkedList.Create; destructor TLinkedList.Destroy; procedure TLinkedList.Add( Data : TObject ); procedure TLinkedList.Clear; end. |