|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 Tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: B T
Length: 954 (0x3ba)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
with Text_Io;
package body Binary_Tree is
procedure Put_Node (The_Node : Node) is
C : Text_Io.Positive_Count;
begin
C := Text_Io.Col;
if not (The_Node = null) then
Text_Io.Set_Col (C);
Text_Io.Put ("NOEUD: ");
C := Text_Io.Col;
Text_Io.Put_Line (Node_Type'Image (The_Node.The_Type));
Text_Io.Set_Col (C);
Text_Io.Put ("CONTENU: ");
if not (The_Node.S = null) then
Text_Io.Put_Line (The_Node.S.all);
end if;
Text_Io.Set_Col (C);
Text_Io.Put_Line ("FILS GAUCHE: ");
Text_Io.Set_Col (C);
Put_Node (The_Node.Left_Son);
Text_Io.Set_Col (C);
Text_Io.Put_Line ("FILS DROIT: ");
Text_Io.Set_Col (C);
Put_Node (The_Node.Right_Son);
Text_Io.Put_Line ("");
end if;
end Put_Node;
end Binary_Tree;