[Overview][Types][Classes][Variables][Index] | Reference for unit 'AVL_Tree' (#fcl)

# TAVLTree.RemovePointer

Remove a pointer item from the list.

## Declaration

Source position: avl_tree.pp line 124

`public function TAVLTree.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

TAVLTree.Remove |  | Remove a data item from the list.
TAVLTree.Delete |  | Delete a node from the tree
TAVLTree.Clear |  | Clears the tree

Documentation generated on: May 14 2021