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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,63ed09fc54092c73 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.72.199 with SMTP id n7mr6661051qaj.5.1359740935099; Fri, 01 Feb 2013 09:48:55 -0800 (PST) X-Received: by 10.49.116.135 with SMTP id jw7mr1240442qeb.10.1359740935080; Fri, 01 Feb 2013 09:48:55 -0800 (PST) Path: k2ni4456qap.0!nntp.google.com!p13no7942601qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 1 Feb 2013 09:48:54 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=95.199.18.217; posting-account=Rr9I-QoAAACS-nOzpA-mGxtAlZ46Nb6I NNTP-Posting-Host: 95.199.18.217 References: <6d66d1c4-ed22-446b-a9d7-dc806ae1ef8f@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <55ced8a8-a739-4dae-bf86-b9eef2be0901@googlegroups.com> Subject: Re: When is a rename not a rename? From: Ada novice Injection-Date: Fri, 01 Feb 2013 17:48:55 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2013-02-01T09:48:54-08:00 List-Id: Thanks for the negative "today's positive number" example :). I see that your examples may be looking at renaming the types of variables except in the 1st example. If I use rename in a program, it is because I can have a general method of doing something plus some specific cases that require some changes in the general method. So I have e.g. The file General_Method.ads as With Specific_Case_A; Package General_Method renames Specific_Case_A; --With Specific_Case_B; --Package General_Method renames Specific_Case_B; Now I am thinking what I am really doing in my example: should it be package X renames Y or package Y renames X...whatever YC