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=0.7 required=5.0 tests=BAYES_00,INVALID_DATE, MSGID_SHORT,REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!gitpyr!aldona From: aldona@pyr.gatech.EDU (STEPHEN D. STRADER) Newsgroups: comp.lang.ada Subject: Re: Question about Ada expressions Message-ID: <9307@pyr.gatech.EDU> Date: 12 Oct 89 10:56:06 GMT References: <72799@linus.UUCP> <6699@hubcap.clemson.edu> <16192@vail.ICO.ISC.COM> <8834@spool.cs.wisc.edu> Reply-To: aldona@pyr.UUCP (STEPHEN D. STRADER) Organization: Georgia Institute of Technology List-Id: In article <8834@spool.cs.wisc.edu> schmidt@green.cs.wisc.edu (Perry Schmidt) writes: >In Ada, when building boolean expressions you must put ANDs and ORs (and >OR ELSES, etc) in parents IF you use them in mixed combination. >Ex. (A and B or C) -- is not legal. You must write it as... > (A and (B or C)) >So the question is -- WHY? BECAUSE! No, actually it is to remove ANY ambiguity as to how the expression should be evaluated. Saright? S