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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,6327f05d4989a68d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.218.2 with SMTP id ho2mr5313420qab.8.1356040546513; Thu, 20 Dec 2012 13:55:46 -0800 (PST) Received: by 10.49.87.1 with SMTP id t1mr1545133qez.41.1356040546486; Thu, 20 Dec 2012 13:55:46 -0800 (PST) Path: k2ni865qap.0!nntp.google.com!ee4no1332955qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 20 Dec 2012 13:55:46 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=149.32.224.33; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 NNTP-Posting-Host: 149.32.224.33 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <5c4f3590-3fe7-41ef-8e3f-182c08576761@googlegroups.com> Subject: Re: Press Release - Ada 2012 Language Standard Approved by ISO From: Anh Vo Injection-Date: Thu, 20 Dec 2012 21:55:46 +0000 Content-Type: text/plain; charset=ISO-8859-1 Date: 2012-12-20T13:55:46-08:00 List-Id: << On Tuesday, December 18, 2012 1:12:25 PM UTC-8, Bill Findlay wrote: > On 18/12/2012 16:57, in article wcc8v8vti17.fsf@shell01.TheWorld.com, "Robert A Duff" wrote: > dirk@vana.cs.kuleuven.be. (Dirk Craeynest) writes: > >> Ada 2012 brings significant enhancements to Ada, most begin Put_Line(candidate'Image(OK) & (if is_prime(OK) then " is" else " is not") & " a prime"); Flush; KO := 32; -- 32 is NOT prime, so this should raise an exception! Put_Line(candidate'Image(OK) & (if is_prime(KO) then " is" else " is not") & " a prime"); >> Did you mean KO in place of the first occurrence of OK on the line immediately above? A. Vo