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,dd17afdec1033c93 X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!t8g2000prg.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: From Pascal to Ada Date: Thu, 01 Nov 2007 18:02:02 -0700 Organization: http://groups.google.com Message-ID: <1193965322.315093.299640@t8g2000prg.googlegroups.com> References: <1193957079.981952.101030@d55g2000hsg.googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1193965323 17773 127.0.0.1 (2 Nov 2007 01:02:03 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 2 Nov 2007 01:02:03 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.7.12-1.3.1,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: t8g2000prg.googlegroups.com; posting-host=66.126.103.122; posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0 Xref: g2news2.google.com comp.lang.ada:2703 Date: 2007-11-01T18:02:02-07:00 List-Id: On Nov 1, 5:01 pm, "(see below)" wrote: > On 1/11/07 22:44, in article > 1193957079.981952.101...@d55g2000hsg.googlegroups.com, > > "j.kha...@oltrelinux.com" wrote: > > Hi, > > how do you translate this Pascal code in Ada? > > > type > > realFunction = function(x: double): double; > > That is NOT Pascal code. It's not standard Pascal code, perhaps (sorry, I haven't kept up to date with the latest Pascal standards). But I know of at least one Pascal compiler that accepts it (and lots of other extensions). -- Adam