Sign in Join
FPDoc Onlineexperiment

TAVLTree.RemovePointer function

Member of TAVLTreepublicIn unit AVL_Tree

Remove a pointer item from the list.

Declaration

pascal
function RemovePointer(Data: Pointer): Boolean

Arguments

Data

Pointer to remove from the tree.

Function result

True if the pointer was found and removed, False if not.

Description

Remove uses FindPointer to find the node associated with the pointer Data and, if found, deletes it from the tree. Only the first occurrence of Data will be removed.

See also

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