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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d927b7ea9b65580a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-09 03:15:03 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fr.usenet-edu.net!usenet-edu.net!enst.fr!not-for-mail From: sk Newsgroups: comp.lang.ada Subject: Re: Style: always declare subrountines? Date: Sat, 09 Nov 2002 05:09:47 -0600 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: References: <3dccc023$0$304$bed64819@news.gradwell.net> Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1036840503 91668 137.194.161.2 (9 Nov 2002 11:15:03 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sat, 9 Nov 2002 11:15:03 +0000 (UTC) Return-Path: X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-4.3mdk i686) X-Accept-Language: en Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.13 Precedence: bulk List-Unsubscribe: , List-Id: comp.lang.ada mail<->news gateway List-Post: List-Help: List-Subscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:30631 Date: 2002-11-09T05:09:47-06:00 Hi, > ... an internal subrountine with the same specification > as a not yet implemented public procedure ... The "internal subroutine" IS the implementation of the "public procedure". You will not be permitted, by the compiler to do the following ... -- package XXX is procedure AAA; end XXX; package body XXX is procedure AAA is begin Do_Public_Operation; end AAA; procedure AAA is begin Do_Internal_Operation; end AAA; end XXX; -- However, the following is legal ... -- package body XXX is procedure AAA_Internal is begin null; end AAA_Internal; procedure AAA_External is begin null; end AAA_External; procedure AAA renames AAA_Internal; end XXX; -- ------------------------------------- -- Merge vertically for real address ------------------------------------- s n p @ t . o k i e k c c m -------------------------------------