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: ┃ T V

⟦3b42e7ea3⟧ TextFile

    Length: 1294 (0x50e)
    Types: TextFile
    Names: »V«

Derivation

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

TextFile

generic
    type Element is private;
package Search_Tree is

    type Object is private;

    subtype Index is String (1 .. 80);

    function Normaliser (S : String; Length : Natural) return Index;

    procedure Create (The_Tree : in out Object);

    function Search (The_Index : in String; A : Object) return Object;

    procedure Insert_Element (The_Tree : in out Object;
                              The_Element : in Element;
                              The_Index : in String);

    procedure Consulter_Element (The_Tree : in Object;
                                 The_Index : in String;
                                 The_Element : out Element;
                                 Found : out Boolean);

    procedure Modifier_Element (The_Tree : in out Object;
                                The_Index : in String;
                                The_Element : in Element;
                                Found : out Boolean);

    function Exist_Element
                (The_Tree : in Object; The_Index : in String) return Boolean;
private
    type Node;
    type Object is access Node;

    type Node is
        record
            The_Index : Index;
            The_Element : Element;
            Left : Object;
            Right : Object;
        end record;

end Search_Tree;