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,d8c487e59f13ecdf X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-09 12:09:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Matthew Heaney" Newsgroups: comp.lang.ada Subject: Re: Ada Basics Date: Wed, 9 Oct 2002 15:09:20 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: References: X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Complaints-To: abuse@supernews.com Xref: archiver1.google.com comp.lang.ada:29637 Date: 2002-10-09T15:09:20-04:00 List-Id: "David C. Hoos" wrote in message news:mailman.1034189822.26075.comp.lang.ada@ada.eu.org... > Where is the procedure Increment declared? I meant Inc. Inc is declared in P. Q.NT inherits P.Inc. I should have pointed out that Q.NT, in addition to constraining its parent's range, can also override the operations it inherits. For example: package P is type T is range 0 .. 200; procedure Inc (O : in out T); end; with P; package Q is type NT is new P.T; procedure Inc (O : in out NT); --override P.Inc end;