From: ytomino <aghia05@gmail.com>
Subject: Re: Question: dynamic rename?
Date: Sat, 3 Sep 2011 05:27:25 -0700 (PDT)
Date: 2011-09-03T05:27:25-07:00 [thread overview]
Message-ID: <0629faf5-21ff-40ea-8fce-5fa8e7e91e51@p25g2000pri.googlegroups.com> (raw)
In-Reply-To: 691c0c64-4b85-4465-9b12-5d56123b8d94@r8g2000prd.googlegroups.com
If signal_one and signal_two are (aliased) variable,
function signal_ref return access signal_type is
begin
case configuration is
when one => return signal_one'Access;
when two => return signal_two'Access;
end case;
end signal_ref;
signal : signal_type renames signal_ref.all;
next prev parent reply other threads:[~2011-09-03 12:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-03 2:28 Question: dynamic rename? Darkwing
2011-09-03 8:03 ` Dmitry A. Kazakov
2011-09-03 10:04 ` Simon Wright
2011-09-03 10:47 ` Dmitry A. Kazakov
2011-09-03 12:27 ` ytomino [this message]
2011-09-03 13:22 ` Pascal Obry
2011-09-04 3:11 ` Darkwing
2011-09-04 8:43 ` Pascal Obry
2011-09-07 16:35 ` Anh Vo
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox