Sign in Join
FPDoc Onlineexperiment

TAVLTree.Clear procedure

Member of TAVLTreepublicIn unit AVL_Tree

Clears the tree.

Declaration

pascal
procedure Clear

Description

Clear deletes all nodes from the tree. The nodes themselves are not freed, and the data pointer in the nodes is also not freed.

If the node's data must be freed as well, use FreeAndClear instead.

See also

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