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 Lines: 15 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