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,de7dd126d6737f3a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!z19g2000yqb.googlegroups.com!not-for-mail From: AdaMagica Newsgroups: comp.lang.ada Subject: Re: Callback in Ada Date: Sun, 2 Jan 2011 07:15:14 -0800 (PST) Organization: http://groups.google.com Message-ID: <85a4096c-e657-4398-8753-11c948f866bf@z19g2000yqb.googlegroups.com> References: <8lc2d0Fb6jU1@mid.individual.net> <4cf0ec67$0$6882$9b4e6d93@newsspool2.arcor-online.net> <393221c0-ac56-436f-b3f8-280c40d5a53a@j1g2000vbl.googlegroups.com> <10p6vzd761rdz$.1gtmc0fk6t9rb.dlg@40tude.net> <704b1c18-9d58-420f-b7af-205ccd1ca7ad@g26g2000vbz.googlegroups.com> NNTP-Posting-Host: 91.13.200.175 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1293981314 12084 127.0.0.1 (2 Jan 2011 15:15:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sun, 2 Jan 2011 15:15:14 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z19g2000yqb.googlegroups.com; posting-host=91.13.200.175; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 (.NET CLR 3.5.30729),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:16305 Date: 2011-01-02T07:15:14-08:00 List-Id: On 2 Jan., 15:11, Robert A Duff wrote: > AdaMagica writes: > > On 1 Jan., 17:46, Yannick Duch ne (Hibou57) > > wrote: > >> > function Foobar (A : Integer) return Integer is (if A > 10 then A - 5 > >> > else A); > > >> What compiler support this ? > > > Of course no one - it's Ada 2012 or so (if and whenever it will be > > appropeved) > > Actually, the latest version of GNAT supports the above, > and a bunch of other Ada 2012 features. The latest *supported* one that is, I guess. Will GNAT GPL 2011 also support it?