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,2746dae4f161c04e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-22 02:39:08 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!195.54.122.107!newsfeed1.bredband.com!bredband!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Understanding Booleans Date: Thu, 22 Nov 2001 10:39:07 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <20011121.053507.496987743.3460@web.de> <3BFBDF14.4B83708B@boeing.com> <5ee5b646.0111212023.17ab963d@posting.google.com> NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1006425547 17977 129.241.83.82 (22 Nov 2001 10:39:07 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Thu, 22 Nov 2001 10:39:07 +0000 (UTC) User-Agent: slrn/0.9.7.2 (Linux) Xref: archiver1.google.com comp.lang.ada:16843 Date: 2001-11-22T10:39:07+00:00 List-Id: On 21 Nov 2001 20:23:34 -0800, Robert Dewar wrote: > Jeffrey Carter wrote in message news:<3BFBDF14.4B83708B@boeing.com>... >> Preben Randhol wrote: >> > >> > if Get_Active (Object) = True then >> >> Am I the only one who finds this objectionable? It ends >> up meaning the >> same thing as >> >> if Get_Active (Object) then > > > Absolute rules of style are the hobgoblins ... OK you know > the quote. But it really is appropriate here. > > Write whatever is clearer to the reader, and do not think > you can avoid the obligation of figuring out what is clearer by having > absolute rules. > > if At_End_Of_File = True then A statement like above will be optimised by the compiler to say : if At_End_Of_File then or will the compiler check if True = True then / if False = True then Preben -- () Join the worldwide campaign to protect fundamental human rights. '||} {||' http://www.amnesty.org/