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

⟦966d4b252⟧ TextFile

    Length: 914 (0x392)
    Types: TextFile
    Names: »B«

Derivation

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

TextFile

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;