|
|
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: 914 (0x392)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
with Bird_Of_Prey;
with Oo_Ada_Exception;
separate (Bird)
procedure Delete (This_Bird : in out Object; Marker : Boolean := False) is
This_State_Ptr : State_Ptr := Part_Of (This_Bird);
begin
case This_State_Ptr.Offspring_No is
when 0 =>
Foot.Delete (This_State_Ptr.My_Feet);
Free (This_State_Ptr);
Animal.Delete (Animal.Object (This_Bird));
Text_Io.Put_Line ("A bird is dead ...");
when 1 =>
if not Marker then
Bird_Of_Prey.Delete (Bird_Of_Prey.Object (This_Bird));
else
Foot.Delete (This_State_Ptr.My_Feet);
Free (This_State_Ptr);
Animal.Delete (Animal.Object (This_Bird));
Text_Io.Put_Line ("A bird is dead ...");
end if;
when others =>
raise Oo_Ada_Exception.Offspring_Error;
end case;
end Delete;