Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uwvax!green!schmidt From: schmidt@green.cs.wisc.edu (Perry Schmidt) Newsgroups: comp.lang.ada Subject: Question about Ada expressions Message-ID: <8834@spool.cs.wisc.edu> Date: 11 Oct 89 22:14:02 GMT References: <72799@linus.UUCP> <6699@hubcap.clemson.edu> <16192@vail.ICO.ISC.COM> Sender: news@spool.cs.wisc.edu Reply-To: schmidt@green.cs.wisc.edu (Perry Schmidt) Organization: U of Wisconsin CS Dept Lines: 15 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? Does this remove some semantic ambiguity? Or is it just the "Ada style!" Thanks for any responses... Perry Schmidt (schmidt@green.cs.wisc.edu)