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

⟦f8fb5f743⟧ TextFile

    Length: 1182 (0x49e)
    Types: TextFile
    Names: »B«

Derivation

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

TextFile

with Actor_Tree;

package body Tad_Material is

    procedure Create_New_Material
                 (The_Object : out Object; The_Name : String) is
        New_Name : String (1 .. 20) := (1 .. 20 => ' ');
    begin
        New_Name (1 .. The_Name'Last) := The_Name;
        The_Object := Object'(New_Name, Actor_Tree.Create_New_Tree);
    end Create_New_Material;

    procedure Set_Actors (The_Object : in out Object;
                          The_Actors : Actor_Tree.Object) is
    begin
        The_Object.Actors := The_Actors;
    end Set_Actors;

    procedure Get_Actors (The_Object : Object;
                          The_Actors : out Actor_Tree.Object) is
    begin
        The_Actors := The_Object.Actors;
    end Get_Actors;

    function Compare_Name (Object1, Object2 : Object) return Integer is
    begin
        if Object1.Name = Object2.Name then
            return 0;
        end if;
        if Object1.Name > Object2.Name then
            return 1;
        else
            return -1;
        end if;
    end Compare_Name;

    function What_Name (The_Object : Object) return String is
    begin
        return The_Object.Name;
    end What_Name;


end Tad_Material;