Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: Order of evaluation and parentheses Message-ID: <5731@mimsy.UUCP> Date: Tue, 10-Mar-87 00:40:54 EST Article-I.D.: mimsy.5731 Posted: Tue Mar 10 00:40:54 1987 Date-Received: Tue, 10-Mar-87 18:42:59 EST References: <4775@brl-adm.ARPA> <693@bobkat.UUCP> <638@aw.sei.cmu.edu.sei.cmu.edu> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 11 Incidentally, while FORTRAN does require the compiler to obey parentheses grouping in determining order of evaluation, it is worthwhile to note that FORTRAN also does not have a preprocessor that often introduces `extra' parentheses. One does not write #define max(a, b) ((a) > (b) ? (a) : (b)) in FORTRAN. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) UUCP: seismo!mimsy!chris ARPA/CSNet: chris@mimsy.umd.edu