comp.lang.ada
 help / color / mirror / Atom feed
From: Anh Vo <anhvofrcaus@gmail.com>
Subject: Re: Question: dynamic rename?
Date: Wed, 7 Sep 2011 09:35:28 -0700 (PDT)
Date: 2011-09-07T09:35:28-07:00	[thread overview]
Message-ID: <416d850a-6e93-4174-8157-76d06f3ac713@w28g2000yqw.googlegroups.com> (raw)
In-Reply-To: 4E633A3A.4050003@obry.net

On Sep 4, 1:43 am, Pascal Obry <pas...@obry.net> wrote:
> Le 04/09/2011 05:11, Darkwing a écrit :
>
> > On Sep 3, 6:22 am, Pascal Obry<pas...@obry.net>  wrote:
> >> Or using a case expression in Ada 2012:
>
> >>      Signal : Signal_Type :=
> >>                 (case Configuration is
> >>                     when One =>  Signal_One,
> >>                     when Two =>  Signal_Two);
>
> > You can really do that in Ada 2012? (I've never used 2012, just 95).
>
> Yes, and this already works in GNAT recent versions. Not tested with
> GNAT GPL 2011 though.

It does work with GNAT GPL 2011 On Windows at least.

Anh Vo




      reply	other threads:[~2011-09-07 16:35 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
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 [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