From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,2ebd9459a8ae4178 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!193.252.117.184.MISMATCH!feeder.news.orange.fr!not-for-mail Message-ID: <4E633A3A.4050003@obry.net> Date: Sun, 04 Sep 2011 10:43:38 +0200 From: Pascal Obry Organization: Home - http://www.obry.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr-FR; rv:1.8.1.22) Gecko/20090605 Thunderbird/2.0.0.22 Mnenhy/0.7.5.0 MIME-Version: 1.0 Newsgroups: comp.lang.ada To: Darkwing Subject: Re: Question: dynamic rename? References: <691c0c64-4b85-4465-9b12-5d56123b8d94@r8g2000prd.googlegroups.com> <0629faf5-21ff-40ea-8fce-5fa8e7e91e51@p25g2000pri.googlegroups.com> <4E622A11.5030403@obry.net> <7a54d9f8-17be-4b50-be87-e84ccb4b2ce3@l4g2000vbz.googlegroups.com> In-Reply-To: <7a54d9f8-17be-4b50-be87-e84ccb4b2ce3@l4g2000vbz.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 04 Sep 2011 10:43:34 CEST NNTP-Posting-Host: 83.199.97.95 X-Trace: 1315125814 reader.news.orange.fr 30763 83.199.97.95:5960 X-Complaints-To: abuse@orange.fr Xref: g2news2.google.com comp.lang.ada:21815 Date: 2011-09-04T10:43:34+02:00 List-Id: Le 04/09/2011 05:11, Darkwing a �crit : > On Sep 3, 6:22 am, Pascal Obry 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