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 23:05:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!newsr1.ipcore.viaginterkom.de!btnet-peer1!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: "Martin Dowie" Newsgroups: comp.lang.ada Subject: Re: Local vs global variables in ADA Date: Wed, 6 Nov 2002 07:04:51 +0000 (UTC) Organization: BT Openworld Message-ID: References: <5Ldx9.3695$151.38236@weber.videotron.net> NNTP-Posting-Host: host217-40-218-56.in-addr.btopenworld.com X-Trace: helle.btinternet.com 1036566291 16466 217.40.218.56 (6 Nov 2002 07:04:52 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Wed, 6 Nov 2002 07:04:51 +0000 (UTC) X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Xref: archiver1.google.com comp.lang.ada:30423 Date: 2002-11-06T07:04:51+00:00 List-Id: "Dennis Lee Bieber" wrote in message news:p0u9qa.4p3.ln@beastie.ix.netcom.com... > 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 AKA the "Read Ahead Principle" so beloved of Jackson Structured Programming and COBOL-heads. It wasn't that bad when the preprocessing bit was farmed off to a subpogram and you wrote your programs using a decent JSP tool.