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,6327f05d4989a68d X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.109.162 with SMTP id ht2mr3566969wib.1.1356051890932; Thu, 20 Dec 2012 17:04:50 -0800 (PST) Path: l12ni171605wiv.1!nntp.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Bill Findlay Newsgroups: comp.lang.ada Subject: Re: Press Release - Ada 2012 Language Standard Approved by ISO Date: Fri, 21 Dec 2012 01:04:48 +0000 Message-ID: References: <5c4f3590-3fe7-41ef-8e3f-182c08576761@googlegroups.com> Mime-Version: 1.0 X-Trace: individual.net bIWMwJsWAsMLu90DjFWSNwZuZWFo2eSU65ruuuQN4ybATpOQYrfjw3tZlkf8rcOsNM Cancel-Lock: sha1:YLoGBEw3jEETLv2VHUhgzmIsI/E= User-Agent: Microsoft-Entourage/12.33.0.120411 Thread-Topic: Press Release - Ada 2012 Language Standard Approved by ISO Thread-Index: Ac3fFywOH6DOLID8yUGjg4ZBuSgQtg== Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: 2012-12-21T01:04:48+00:00 List-Id: On 20/12/2012 21:55, in article 5c4f3590-3fe7-41ef-8e3f-182c08576761@googlegroups.com, "Anh Vo" wrote: > << 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? Yes. 8-) -- Bill Findlay with blueyonder.co.uk; use surname & forename;