comp.lang.ada
 help / color / mirror / Atom feed
From: falis@ma.aonix.com (Ed Falis)
Subject: Re: Q's: nested packages / visibilty
Date: 1998/11/19
Date: 1998-11-19T00:00:00+00:00	[thread overview]
Message-ID: <1104_911490872@DZOG-CHEN> (raw)
In-Reply-To: matthew_heaney-ya023680001811982323430001@news.ni.net

I didn't see the original full post, but it sounds like what Craig is 
after is a private child package:

package Parent is

-- generally visible stuff
private
-- as needed
end Parent.

private package Parent.Restricted is
-- stuff only for use by the parent or other children for 
implementation
private
-- whatever
end Parent.Restricted;

with Parent.Restricted;
package body Parent is
-- implementation
end Parent;

Of course, if he said he was using Ada 83, all bets are off on 
this approach.
- Ed




      reply	other threads:[~1998-11-19  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-11-19  0:00 Q's: nested packages / visibilty Craig Allen
1998-11-19  0:00 ` Matthew Heaney
1998-11-19  0:00   ` Ed Falis [this message]
replies disabled

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