Sign in Join
FPDoc Onlineexperiment

TLinkList.Clear procedure

Member of TLinkListpublicIn unit LazLinkedList

Removes all items in the doubly linked list.

Declaration

pascal
procedure Clear

Description

Clear is a procedure used to remove all items in the doubly linked list. Clear uses the class instance in First as the initial TLinkListItem in the node traversal order. While the node is assigned, it calls the Delete method for each of the TLinkListItem instances.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.