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

⟦648e4fa06⟧ TextFile

    Length: 876 (0x36c)
    Types: TextFile
    Names: »B«

Derivation

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

TextFile

with Fruit;  
with Vegetable;

separate (Tomato)
function Create (Offspring : Natural := 0) return Object is

    This_Object : Object := new State;
    Parent_1 : Vegetable.Object;
    Parent_2 : Fruit.Object;

begin
    This_Object.Offspring := Offspring;

    Log_Report.Trace ("Creation of vegetable inheritance tree");
    Parent_1 := Vegetable.Create (1);
    Set_Origin (This_Object, Vegetable.Get_Origin (Parent_1));
    Vegetable.Set_Heir (Parent_1, Root_View_Of (This_Object));

    Log_Report.Trace ("Creation of fruit inheritance tree");
    Parent_2 := Fruit.Create (1);  
    Fruit.Set_Heir (Parent_2, Root_View_Of (This_Object));  
    Vegetable.Set_Multiple (Parent_1, Fruit.Get_Origin ((Parent_2)));

    Log_Report.Trace ("A tomato is born with offspring " &
                      Natural'Image (This_Object.Offspring));
    return This_Object;
end Create;