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,cf677878aa77e0d8 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-14 16:41:08 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!news-east.rr.com!news-west.rr.com!news.rr.com!news-west.rr.com!lsnws01.we.mediaone.net!cyclone-LA3.rr.com!typhoon.san.rr.com.POSTED!not-for-mail Message-ID: <3B50D895.EB3C192@san.rr.com> From: Darren New Organization: Boxes! X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: an infinate loop References: <3B4F2962.25BB60FF@boeing.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sat, 14 Jul 2001 23:41:07 GMT NNTP-Posting-Host: 24.94.25.117 X-Complaints-To: abuse@rr.com X-Trace: typhoon.san.rr.com 995154067 24.94.25.117 (Sat, 14 Jul 2001 16:41:07 PDT) NNTP-Posting-Date: Sat, 14 Jul 2001 16:41:07 PDT Xref: archiver1.google.com comp.lang.ada:9962 Date: 2001-07-14T23:41:07+00:00 List-Id: Ted Dennison wrote: > >while not End_Of_File loop > True. As a seperate issue, I'd say it is better when you can rearrange the > condition so it uses positive logic. Unfortunately, you can't always do that, > and this is one of those cases. function Still_More_File (...) : Boolean is begin return not End_Of_File(...); end; Wouldn't that do it? (I always thought it was kind of odd to provide an EOF function instead of a Theres_Still_Some_Left function.) -- Darren New / Senior MTS & Free Radical / Invisible Worlds Inc. San Diego, CA, USA (PST). Cryptokeys on demand. Only a WIMP puts wallpaper on his desktop.