|
|
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: 876 (0x36c)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
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;