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 Path: g2news1.google.com!postnews.google.com!n2g2000pre.googlegroups.com!not-for-mail From: AdaMagica Newsgroups: comp.lang.ada Subject: Re: Callback in Ada Date: Tue, 30 Nov 2010 01:14:48 -0800 (PST) Organization: http://groups.google.com Message-ID: <0deb178c-ecac-4560-8bae-a904432046ee@n2g2000pre.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> NNTP-Posting-Host: 80.156.44.178 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1291108488 28966 127.0.0.1 (30 Nov 2010 09:14:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 30 Nov 2010 09:14:48 +0000 (UTC) Cc: randy@rrsoftware.com Complaints-To: groups-abuse@google.com Injection-Info: n2g2000pre.googlegroups.com; posting-host=80.156.44.178; posting-account=rmHyLAoAAADSQmMWJF0a_815Fdd96RDf User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.2; de; rv:1.9.0.4) Gecko/2008102920 Firefox/3.0.4,gzip(gfe) Xref: g2news1.google.com comp.lang.ada:15709 Date: 2010-11-30T01:14:48-08:00 List-Id: > No problem here, just use an expression function to give your expression = a > name (and parameters); then you can use 'Access just fine. Forget anonymo= us > stuff, it only leads to heartache. :-) > > =A0 =A0 function Foobar (A : Integer) return Integer is (if A > 10 then A= - 5 > else A); Which AI is this? I can't find this syntax in RM 2012 Draft 10.