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!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!mcsun!unido!pcsbst!horst From: horst@pcsbst.UUCP (horst) Newsgroups: comp.lang.ada Subject: Re: Question about Ada expressions Message-ID: <1089@pcsbst.UUCP> Date: 13 Oct 89 14:38:27 GMT References: <72799@linus.UUCP> <6699@hubcap.clemson.edu> <16192@vail.ICO.ISC.COM> <8834@spool.cs.wisc.edu> Reply-To: aida!horst@pcsbst.UUCP (horst kern) Organization: PCS GmbH, Pfaelzer-Wald-Str. 36, 8000 Muenchen; West-Germany 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. >... >Does this remove some semantic ambiguity? Or is it just the "Ada style!" Yes, there is an ambiguity. The precedence of 'and' and 'or' is not so commonly agreed as that of '*' and '+'. So the designers chose to require parenthesis. Regards, horst