BPRINT procedure
Displays a tree (R.W. Payne).
Option
PRINT = strings
Controls printed output (indented, bracketed,
labelleddiagram, numbereddiagram); default inde
Parameter
TREE = trees
Trees to be displayed
Description
BPRINT can print a tree in various formats. The tree is specified by the TREE parameter,
and the PRINT option indicates what output is required, with settings:
bracketed
display as used to represent an identification key in "bracketed"
form (printed node by node);
indented
display as used to represent an identification key in "indented"
form (printed branch by branch);
labelleddiagram
diagrammatic display including the node labels;
numbereddiagram
diagrammatic display with the nodes labelled by their
numbers.
Option: PRINT.
Parameter: TREE.
Method
BPRINT uses the standard tree functions to parse the tree for printing.