hdo walks the hierarchy

MKE version 6.3 lets the user access the full power
of the internal hwalk/hdo functions.

    hdo action from cuname with path done;

(cuname means the name of any concept or unit.)
For all the goodies, you'll have to consult

    http://rhm.cdepot.net/src/hwalk.icn


Here are a few interesting examples.

distance to top of hierarchy:
    hdo hlevel from x with "isa" done;

distance to bottom of hierarchy:
    hdo hlevel from x with "isc" done;

dictionary:
    hdo definition with alpha done;

zero the visit counts:
    hdo mark0 with alpha done;

subhierarchy of nested sets:
    hdo print from x with "ismem" done;


Dick McCullough
knowledge := man do identify od existent done;
knowledge haspart proposition list;

Received on Monday, 1 September 2003 13:24:04 UTC