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=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Thread: 103376,bda36258b2fe9834 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!usenet-fr.net!enst.fr!melchior!cuivre.fr.eu.org!melchior.frmug.org!not-for-mail From: Christoph Grein Newsgroups: comp.lang.ada Subject: Re: Shortcut logicals (was: Re: F200x ) Date: Tue, 01 Feb 2005 09:49:22 +0100 Organization: Cuivre, Argent, Or Message-ID: Reply-To: christoph.grein@eurocopter.com NNTP-Posting-Host: lovelace.ada-france.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: melchior.cuivre.fr.eu.org 1107248486 87030 212.85.156.195 (1 Feb 2005 09:01:26 GMT) X-Complaints-To: usenet@melchior.cuivre.fr.eu.org NNTP-Posting-Date: Tue, 1 Feb 2005 09:01:26 +0000 (UTC) To: comp.lang.ada@ada-france.org Return-Path: X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20020920 Netscape/7.0 X-OriginalArrivalTime: 01 Feb 2005 08:58:26.0537 (UTC) FILETIME=[31231590:01C5083C] X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at ada-france.org X-BeenThere: comp.lang.ada@ada-france.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Gateway to the comp.lang.ada Usenet newsgroup" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: g2news1.google.com comp.lang.ada:8106 Date: 2005-02-01T09:49:22+01:00 > Robert A Duff wrote: > > > And the syntax rules forbid mixing "and" and "and then" -- you have to > > use parens.??All?of?these?("and",?"and?then",?"or",?"or?else",?"xor") > > are lower precedence than most other operators in Ada.??So?you?can > > write: > > Are you sure? I did not find anything in the RM to support that. I checked > both the RM and AARM: Martin, of course Robert is sure, if not, who else - you should know, he's deeply involved in Ada development. See RM 4.4(2..7). You'll find relation and relation gives an expression, relation and then relation also gives an expression. But there is no syntax rule to combine an expression with a relation. You can only combine a parenthesized expression (a primary) with a relation. > http://www.adaic.com/standards/95lrm/html/RM-4-5-1.html > http://www.adaic.com/standards/95aarm/html/AA-4-5-1.html > > (To the Fortran comunity: the the first is the general public version, the > later the compiler vendor version). More precisely: The first is the binding reference manual, the second has further discussions, explanations and rationales without any binding character. Of course there should be no contradictions between the two. > Martin