Previous Up Next

_POScompTree
Searches an item position from its string value

[I r1] _POScompTree (
CompTree _tree_
[I r1] _position_
S _key_
I _searchorder_
)
Parameters

_tree_
CompTree
_position_
starting search node position
_key_
string to search for
_searchorder_
can be one of following values :
Value Meaning
TRE_PRE_ORDER use pre order search
TRE_LEVEL_ORDER use level order search
Return value

position of found item