DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ B T

⟦42db3c28d⟧ TextFile

    Length: 954 (0x3ba)
    Types: TextFile
    Names: »B«

Derivation

└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
    └─ ⟦129cab021⟧ »DATA« 
        └─⟦this⟧ 

TextFile

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;