3 type Nat_Array
is array (Positive range <>) of Natural with
4 Default_Component_Value
=> 0;
5 type Nat_Stack
(Max
: Natural) is record
6 Content
: Nat_Array
(1 .. Max
);
8 type Stack_Acc
is access Nat_Stack
;
9 type My_Rec
is private;
12 My_Stack
: Stack_Acc
:= new Nat_Stack
(Max
=> 10);