|
|
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 - download
Length: 447 (0x1bf)
Types: TextFile
Names: »B«
└─⟦a7d1ea751⟧ Bits:30000550 8mm tape, Rational 1000, !users!projects 94_04_11
└─⟦129cab021⟧ »DATA«
└─⟦this⟧
with Bird;
with Fish;
with Oo_Ada_Exception;
separate (Animal)
procedure Eat (This_Animal : Object) is
begin
case Part_Of (This_Animal).Offspring_No is
when 0 =>
Self.Eat (This_Animal);
when 1 =>
Fish.Eat (Fish.Object (This_Animal));
when 2 =>
Bird.Eat (Bird.Object (This_Animal));
when others =>
raise Oo_Ada_Exception.Offspring_Error;
end case;
end Eat;