-- Collection of code snippets by Arne Vajhøj 
-- (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
package Animal is
    type Animal_Type is abstract tagged private;
    -- constructor
    procedure Animal_Create(Name : in String; Instance : out Animal_Type);
    -- accessors
    function Name(A : in Animal_Type) return String;
    -- print
    procedure Put(A : in Animal_Type'Class);
    -- says
    function Says(A : in Animal_Type) return String is abstract;
private
    type Animal_Type is
        abstract tagged record
            M_Name : String(1..3);
        end record;

end Animal;
