with Lto24_Pkg2;package Lto24_Pkg1 is
Max_Elem :constantNatural:= Lto24_Pkg2.Get;type Arr is array(Naturalrange<>)ofBoolean;type Rec (B :Boolean)is record
I :Integer;case B iswhenTrue=> A : Arr (1.. Max_Elem);whenFalse=> Empty :Boolean;end case;end record;end Lto24_Pkg1;