From BeebWiki
Jump to: navigation, search

OSWORD &59 (89 ) - Delete node from binary tree DVR

On entry:
 XY+0..1=address of the root of the tree
 XY+2..3=address of a data comparison routine
 XY+4..5=address of the node to delete
On exit:
 C is set if the node could not be found in the tree,
 otherwise XY contain the address of the old node.

See Also

Jgharston 13:54, 26 May 2009 (UTC)