comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Question: dynamic rename?
Date: Sat, 3 Sep 2011 10:03:44 +0200
Date: 2011-09-03T10:03:44+02:00	[thread overview]
Message-ID: <1120rpf8n3otq.1r0ysnixm1bwt.dlg@40tude.net> (raw)
In-Reply-To: 691c0c64-4b85-4465-9b12-5d56123b8d94@r8g2000prd.googlegroups.com

On Fri, 2 Sep 2011 19:28:38 -0700 (PDT), Darkwing wrote:

> Is there an Ada elegant way to do something like the following:
> 
> signal : signal_type renames =>
> case configuration is
>  when one => signal_one;
>  when two => signal_two;
> end case;

Nested subprogram taking signal as an argument.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2011-09-03  8:03 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 [this message]
2011-09-03 10:04   ` Simon Wright
2011-09-03 10:47     ` Dmitry A. Kazakov
2011-09-03 12:27 ` ytomino
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