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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d89e2d213646aec8 X-Google-Attributes: gid103376,public Path: g2news1.google.com!news1.google.com!news.glorb.com!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!news-peer1!btnet-feed3!newreader.ukcore.bt.net!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Mneson announcement and help request Date: Thu, 3 Jun 2004 05:48:37 +0000 (UTC) Organization: BT Openworld Message-ID: References: NNTP-Posting-Host: host81-152-56-112.range81-152.btcentralplus.com X-Trace: sparta.btinternet.com 1086241717 15289 81.152.56.112 (3 Jun 2004 05:48:37 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Thu, 3 Jun 2004 05:48:37 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Xref: g2news1.google.com comp.lang.ada:1053 Date: 2004-06-03T05:48:37+00:00 List-Id: "Jeffrey Carter" wrote in message news:Xyxvc.19956$Tn6.3068@newsread1.news.pas.earthlink.net... > The standard idiom should be > > loop > exit when End_Of_File (Current_Input); > > Get_Immediate (C); > end loop; > > which eliminates the calls to "not". In addition, it uses positive > logic, rather than the negative logic required by while, which is easier > to read and understand. Well, the "not" is a red herring really as it is just one of two inverse assembler instructions really. And my JSP background has always insisted on "while not " :-)