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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,db5c6b2ef47d4b9e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-06-22 13:43:04 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: short-circuit control forms (& 'long names are doom') Date: 22 Jun 2001 13:43:04 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0106221243.3617111a@posting.google.com> References: <3B30F836.D700DAA3@raytheon.com> <3B32038D.F1296C79@cadence.com> NNTP-Posting-Host: 205.232.38.14 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 993242584 3796 127.0.0.1 (22 Jun 2001 20:43:04 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 22 Jun 2001 20:43:04 GMT Xref: archiver1.google.com comp.lang.ada:9045 Date: 2001-06-22T20:43:04+00:00 List-Id: "DuckE" wrote in message news:... The GNAT standard is to use AND THEN/OR ELSE for all cases except when simple Boolean values are involved. We never have a situation where both operands *must* be evaluated, since this would represent disgusting coding with side effects, so we do not have a rule that covers this case :-)