comp.lang.ada
 help / color / mirror / Atom feed
From: Ada novice <shai.lesh@gmx.com>
Subject: Re: When is a rename not a rename?
Date: Fri, 1 Feb 2013 09:48:54 -0800 (PST)
Date: 2013-02-01T09:48:54-08:00	[thread overview]
Message-ID: <55ced8a8-a739-4dae-bf86-b9eef2be0901@googlegroups.com> (raw)
In-Reply-To: <coikrsq8nv3b$.1xcqe2olg7bpv$.dlg@40tude.net>

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



      parent reply	other threads:[~2013-02-01 17:48 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-29  1:24 When is a rename not a rename? Adam Beneschan
2013-01-30  0:28 ` Randy Brukardt
2013-01-30  0:52   ` Adam Beneschan
2013-01-30  9:31     ` Dmitry A. Kazakov
2013-01-30 14:35       ` ytomino
2013-02-01 10:44 ` Ada novice
2013-02-01 11:27   ` Dmitry A. Kazakov
2013-02-01 17:32     ` Adam Beneschan
2013-02-01 18:31       ` ytomino
2013-02-02  1:40         ` Adam Beneschan
2013-02-02 12:24           ` ytomino
2013-02-02 14:26           ` Robert A Duff
2013-02-02 17:11             ` Shark8
2013-02-02  0:42       ` Brian Drummond
2013-02-02 11:43         ` AdaMagica
2013-02-03 11:50           ` Brian Drummond
2013-02-03 12:16             ` AdaMagica
2013-02-05  9:53       ` Ada novice
2013-02-01 17:48     ` Ada novice [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox