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!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 List-Id: 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)