From: Pascal Obry <pascal@obry.net>
To: Darkwing <nelsonchandler@gmail.com>
Subject: Re: Question: dynamic rename?
Date: Sun, 04 Sep 2011 10:43:38 +0200
Date: 2011-09-04T10:43:34+02:00 [thread overview]
Message-ID: <4E633A3A.4050003@obry.net> (raw)
In-Reply-To: <7a54d9f8-17be-4b50-be87-e84ccb4b2ce3@l4g2000vbz.googlegroups.com>
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.
> That's pretty cool. Any word on when 2012 will be finalized?
ISO standardization should be completed in 2012. Implementation of some
features has already started in GNAT but for a full Ada 2012 support it
will take some time. More information about Ada 2012:
http://www.adacore.com/home/ada_answers/ada-2012/
http://www.ada-auth.org/standards/ada12.html
You probably want to read this introduction to Ada 2012:
http://www2.adacore.com/wp-content/uploads/2006/03/Ada2012_Rational_Introducion.pdf
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://www.obry.net - http://v2p.fr.eu.org
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver keys.gnupg.net --recv-key F949BD3B
next prev parent reply other threads:[~2011-09-04 8:43 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 [this message]
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