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=-0.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bcbb1958406dce8f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-26 04:58:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!arclight.uoregon.edu!wn14feed!worldnet.att.net!207.217.77.102!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Renames: use of it.... Date: Tue, 26 Nov 2002 07:57:45 -0500 Organization: MindSpring Enterprises Message-ID: References: NNTP-Posting-Host: d1.56.bd.ee X-Server-Date: 26 Nov 2002 12:58:29 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Xref: archiver1.google.com comp.lang.ada:31231 Date: 2002-11-26T12:58:29+00:00 List-Id: Looks like something that is not a syntactic necessity, so it was probably done for some design reason. One excuse is that you may want visibility of only certain things within a package from some subset of the whole system. I'd bet money that the original designers didn't leave around much in the way of design documentation, but if they did, that would be where you'd likely see the rationale for the COMMANDS package, which would explain why it exists with renames for things in ACTION_CONTROLER. MDC -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jast.mil/ Send Replies To: m c o n d i c @ a c m . o r g "I'd trade it all for just a little more" -- Charles Montgomery Burns, [4F10] ====================================================================== prashna wrote in message news:d40d7104.0211260237.64e4cddf@posting.google.com... > Hi all, > I am doing a code review for a one of the module in flight management > computer. > One the procedure is calling an another procedure > (COMMANDS.EXECUTE_SCROLL) from a package called COMMANDS. > In package COMMANDS the declaration of the procedure EXECUTE_SCROLL is > as follows : > procedure EXECUTE_SCROLL (MCDU_ID : in > MMI_APPLICATION_TYPES.T_MCDU_ID; > DIRECTION : in CONTEXT_TYPES.T_DIRECTION) > renames ACTION_CONTROLER.EXECUTE_SCROLL; > > All the procedures in this package is rename of a procedure in package > ACTION_CONTROLER or some other package. Why is it so?Why can't use the > procedure from the package ACTION_CONTROLER itself(i.e instead of > calling COMMANDS.EXECUTE_SCROLL why can't they use > ACTION_CONTROLER.EXECUTE_SCROLL)?Is the package COMMANDS really > required? > > Thanks in advance, > ashwath