-- 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) 
with Salary;

use Salary;

package Net_Salary is
    type Net_Salary_Type is new Salary_Type with private;
    -- constructor
    procedure Net_Salary_Create(Amount,Tax : in Integer; Instance : out Net_Salary_Type);
    -- accessors
    function Tax(NS : in Net_Salary_Type) return Integer;
    -- print
    procedure Put(NS : in Net_Salary_Type);
private
    type Net_Salary_Type is new Salary_Type with
        record
            M_Tax : Integer;
        end record;

end Net_Salary;
