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=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,2ebd9459a8ae4178 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!w28g2000yqw.googlegroups.com!not-for-mail From: Anh Vo Newsgroups: comp.lang.ada Subject: Re: Question: dynamic rename? Date: Wed, 7 Sep 2011 09:35:28 -0700 (PDT) Organization: http://groups.google.com Message-ID: <416d850a-6e93-4174-8157-76d06f3ac713@w28g2000yqw.googlegroups.com> 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> <4E633A3A.4050003@obry.net> NNTP-Posting-Host: 149.32.224.34 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1315413414 17710 127.0.0.1 (7 Sep 2011 16:36:54 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 7 Sep 2011 16:36:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: w28g2000yqw.googlegroups.com; posting-host=149.32.224.34; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESRCNK X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.1) Gecko/20100101 Firefox/6.0.1,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:20871 Date: 2011-09-07T09:35:28-07:00 List-Id: On Sep 4, 1:43=A0am, Pascal Obry wrote: > Le 04/09/2011 05:11, Darkwing a =E9crit : > > > On Sep 3, 6:22 am, Pascal Obry =A0wrote: > >> Or using a case expression in Ada 2012: > > >> =A0 =A0 =A0Signal : Signal_Type :=3D > >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (case Configuration is > >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 when One =3D> =A0Signal_One, > >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 when Two =3D> =A0Signal_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