-- 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 Salary is
    type Salary_Type is tagged private;
    -- constructor
    procedure Salary_Create(Amount : in Integer; Instance : out Salary_Type);
    -- accessors
    function Amount(S : in Salary_Type) return Integer;
    -- print
    procedure Put(S : in Salary_Type);
private
    type Salary_Type is
        tagged record
            M_Amount : Integer;
        end record;

end Salary;
