comp.lang.ada
 help / color / mirror / Atom feed
From: "Marc A. Criley" <mcquadex@earthlink.net>
Subject: Re: (generic) child package of generic package; intantiation of
Date: Mon, 29 Jan 2001 17:20:11 GMT
Date: 2001-01-29T17:20:11+00:00	[thread overview]
Message-ID: <3A759849.55463A26@earthlink.net> (raw)
In-Reply-To: LUgd6.9728$Qb7.1473404@newsb.telia.net

"Peter Hend�n" wrote:
> 
> I have the following:
> 
> generic
>     Count : in Natural := 1;
> package Parent is
>     ...
> end Parent;
> 
> generic
> package Parent.RarelyUsedOps is
>     ...
> end Parent.RarelyUsedOps;
> 
> I have no problem instantiating Parent, of course, but how in the name of Ms
> Lovelace do I instantiate the child package?
> 
> TIA and Regards,
> Peter

   package Mom is new Parent;

   package Restful_Sleep is new Mom.RarelyUsedOps;


Marc A. Criley
Senior Staff Engineer
Quadrus Corporation
www.quadruscorp.com



  reply	other threads:[~2001-01-29 17:20 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-29 16:30 (generic) child package of generic package; intantiation of Peter Hend�n
2001-01-29 17:20 ` Marc A. Criley [this message]
2001-01-29 17:24 ` mark.biggar
2001-01-29 17:25 ` Pat Rogers
2001-01-29 20:46   ` Peter Hend�n
2001-01-30 16:56     ` Tucker Taft
2001-01-30 21:33       ` Peter Hend�n
2001-01-30  4:48 ` Jeffrey Carter
2001-01-30 11:53   ` Peter Hend�n
  -- strict thread matches above, loose matches on Subject: below --
2001-01-31  5:34 Christoph Grein
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox