From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,37e636c1c9bae8a1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-31 12:40:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Combining packages Date: Wed, 31 Oct 2001 20:40:27 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1004560827 19998 129.241.83.82 (31 Oct 2001 20:40:27 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Wed, 31 Oct 2001 20:40:27 +0000 (UTC) User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:15509 Date: 2001-10-31T20:40:27+00:00 List-Id: On Wed, 31 Oct 2001 15:41:13 -0500, Matthew Heaney wrote: > > "Preben Randhol" 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