comp.lang.ada
 help / color / mirror / Atom feed
From: "Matthew Heaney" <mheaney@on2.com>
Subject: Re: Combining packages
Date: Wed, 31 Oct 2001 15:41:13 -0500
Date: 2001-10-31T15:41:13-05:00	[thread overview]
Message-ID: <tu0o9drje63e1c@corp.supernews.com> (raw)
In-Reply-To: slrn9u0rij.du.randhol+abuse@kiuk0156.chembio.ntnu.no


"Preben Randhol" <randhol+abuse@pvv.org> wrote in message
news:slrn9u0rij.du.randhol+abuse@kiuk0156.chembio.ntnu.no...
> you mean put the Add procedure in another child package?

No.  I mean make the procedure itself a child:

procedure Workgroups.Add (...);

Child units can be packages or subprograms, and they can be either public or
private.  In fact, creating a child subprogram is the intended way to extend
an abstraction without having to resort to inheritance.








  reply	other threads:[~2001-10-31 20:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-31 18:15 Combining packages Preben Randhol
2001-10-31 18:31 ` Matthew Heaney
2001-10-31 20:27   ` Preben Randhol
2001-10-31 20:41     ` Matthew Heaney [this message]
2001-10-31 20:40       ` Preben Randhol
replies disabled

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