From: Preben Randhol <randhol+abuse@pvv.org>
Subject: Re: Combining packages
Date: Wed, 31 Oct 2001 20:40:27 +0000 (UTC)
Date: 2001-10-31T20:40:27+00:00 [thread overview]
Message-ID: <slrn9u0sa2.l5.randhol+abuse@kiuk0156.chembio.ntnu.no> (raw)
In-Reply-To: tu0o9drje63e1c@corp.supernews.com
On Wed, 31 Oct 2001 15:41:13 -0500, Matthew Heaney wrote:
>
> "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.
Ah. Thanks. Didn't know you could do that.
Preben
--
Please, stop bombing civilians in Afghanistan. One cannot write off
killing innocent children and other civilians as "collateral damage".
A civilian is a civilian whether he or she is American or from another
country in the world. http://web.amnesty.org/11september.htm
prev parent reply other threads:[~2001-10-31 20:40 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
2001-10-31 20:40 ` Preben Randhol [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