Trees

Maintainance

A tree can be reorganized, added to, or parts of a tree can be deleted. A single node can be reparented, or its entire subtree. The relevant commands are delete, removenode, and reparent. The following code will rearrange the previously created tree, moving one child under another.

.pad tree reparent $child3 $child2
.pad tree layout $root


Pad++ Programmer's Guide - 10 JUN 1996

Generated with Harlequin WebMaker

Web Accessibility