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-Thread: 103376,587e0e0a16d65b10 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews.google.com!b16g2000yqb.googlegroups.com!not-for-mail From: =?ISO-8859-1?Q?Hibou57_=28Yannick_Duch=EAne=29?= Newsgroups: comp.lang.ada Subject: Re: Invade wikipedia! Date: Fri, 27 Feb 2009 22:27:52 -0800 (PST) Organization: http://groups.google.com Message-ID: <3f25304d-ef5b-46e1-a867-2c2b47168aad@b16g2000yqb.googlegroups.com> References: <49a6d506$0$32680$9b4e6d93@newsspool2.arcor-online.net> <4a18f335-30f6-4216-8376-0310eb560445@p11g2000yqe.googlegroups.com> <49a7ced2$0$31342$9b4e6d93@newsspool4.arcor-online.net> NNTP-Posting-Host: 86.75.149.247 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1235802472 3347 127.0.0.1 (28 Feb 2009 06:27:52 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 28 Feb 2009 06:27:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: b16g2000yqb.googlegroups.com; posting-host=86.75.149.247; posting-account=vrfdLAoAAAAauX_3XwyXEwXCWN3A1l8D User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; fr),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:3840 Date: 2009-02-27T22:27:52-08:00 List-Id: On 28 f=E9v, 06:26, Ivan Levashew wrote: > > By the way, I use to indent 'exit when' the same as surrounding > loop-end-loop e. g. > > loop > =A0 =A0 Read_Next_Value; > exit when Is_Done; > =A0 =A0 Process_Value; > end loop; > > -- > If you want to get to the top, you have to start at the bottom This make the loop structure more visible at first sight. The Ada "exit" statement is nice in there, beceause it start straight with "exit" which make it more visible than with any construct like "if ... then exit"