From BeebWiki
Jump to: navigation, search

OSWORD &5B (91 ) - Traverse binary tree DVR

On entry:
 XY+0..1=address of the root of the tree
 XY+2..3=address of an action routine
 XY+4   =traversal order flag (0=forward search, &FF=backward).
The action routine is called with the address of the current node
in XY, and should return with C clear if the traversal is to be
continued, or C set of it is to be aborted.

See Also

Jgharston 13:08, 26 May 2009 (UTC)