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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,83d867c7a987cc31 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-07-04 16:43:53 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.mathworks.com!enews.sgi.com!newsfeed.nettuno.it!server-b.cs.interbusiness.it!news-out.tin.it!news-in.tin.it!news2.tin.it.POSTED!not-for-mail Message-ID: <3B43A556.FFD6759A@tin.it> From: GianLuigi Piacentini X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Help with translation: Fortran77 => Ada95 References: <9hun38$t0m$1@ulysses.noc.ntua.gr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 04 Jul 2001 23:25:21 GMT NNTP-Posting-Host: 212.216.132.172 X-Complaints-To: newsmaster@tin.it X-Trace: news2.tin.it 994289121 212.216.132.172 (Thu, 05 Jul 2001 01:25:21 MET DST) NNTP-Posting-Date: Thu, 05 Jul 2001 01:25:21 MET DST Organization: TIN Xref: archiver1.google.com comp.lang.ada:9445 Date: 2001-07-04T23:25:21+00:00 List-Id: do label iteration_variable= starting value, ending value [, increment] statements to be looped label last statement to be looped (usually continue) so do 100 k=2, n ... 100 continue means loop statements in the ... place the number of times needed to k to go from 2 to n (with increment 1) each time k (the loop variable) is used in the loop, it takes its current value (2, 3, .., n) goto 120 is a way to jump out of the loop, control resuming at the statement labelled 120. goto's after an if seems quite clear, and in old code is used as a quick and dirt way to skip some instructions (like old BASIC). goto to the end of a loop is a way to jump to the end of a loop (usually a continue) skipping some loop statement but remaining inside the loop. Hoping this helps G.L. Piacentini