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,8002154d2966e1a1 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-11-05 19:13:58 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!washdc3-snf1!news.gtei.net!cyclone1.gnilink.net!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!harp.news.atl.earthlink.net!beastie.ix.netcom.com!nobody From: Dennis Lee Bieber Newsgroups: comp.lang.ada Subject: Re: Local vs global variables in ADA Date: Tue, 05 Nov 2002 18:15:52 -0800 Organization: >> Leaf-Eating Penguins? << Message-ID: References: <5Ldx9.3695$151.38236@weber.videotron.net> NNTP-Posting-Host: a5.f7.d0.c6 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Server-Date: 6 Nov 2002 03:18:35 GMT User-Agent: KNode/0.6.1 X-noarchive: yes Xref: archiver1.google.com comp.lang.ada:30416 Date: 2002-11-06T03:18:35+00:00 List-Id: Robert A Duff fed this fish to the penguins on Tuesday 05 November 2002 02:37 pm: > Like what? I mean, which languages have different definitions of > "while" loops, and what are the differences. I thought "while" loops > were one of the few cases where there is pretty much agreement on the > semantics across languages. > Well, it isn't a while, but... repeat ... until which has the situation that it exits when goes true, whereas while ... wend continues looping on a true . And /neither/ structure really handles the form where you need a bit of processing before you can do the test... loop preprocessing which sets flag exit when other processing end loop. Using just a while loop, as in many languages, the above turns into: (initial) preprocessing which may set flag while not flag other processing preprocessing which sets flag wend -- > ============================================================== < > wlfraed@ix.netcom.com | Wulfraed Dennis Lee Bieber KD6MOG < > wulfraed@dm.net | Bestiaria Support Staff < > ============================================================== < > Bestiaria Home Page: http://www.beastie.dm.net/ < > Home Page: http://www.dm.net/~wulfraed/ <