-- 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 Ada.Text_IO,Ada.Integer_Text_IO;

use Ada.Text_IO,Ada.Integer_Text_IO;

procedure typs2x is

subtype num_people is Integer;
subtype num_models is Integer;
subtype num_colors is Integer;

np : num_people;
nm : num_models;
nc : num_colors;

begin
    np := 10;
    nm := 5;
    nc := np + nm;
    Put(nc);
    New_Line;
end typs2x;
