Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!uunet!cs.dal.ca!silvert From: silvert@cs.dal.ca (Bill Silvert) Newsgroups: comp.lang.fortran Subject: Re: Questions about IF Message-ID: <1991Jun26.130917.20736@cs.dal.ca> Date: 26 Jun 91 13:09:17 GMT Article-I.D.: cs.1991Jun26.130917.20736 References: <26384@lanl.gov> <1991Jun25.124806.15349@cs.dal.ca> <26462@beta.gov> Sender: silvert@cs.dal.ca.UUCP (Bill Silvert) Reply-To: silvert%biome@cs.dal.ca Organization: Habitat Ecology Div., Bedford Inst. of Oceanography Lines: 16 In article <26462@beta.gov> jlg@cochiti.lanl.gov (Jim Giles) writes: >You misunderstand the parenthesis rule. The objects I've called >`expr1', `expr2', and `expr3' can be evaluated in _any_ order. >The parenthesis force the 'and' between `expr2' and `expr3' to >be evaluated before the other 'and'. That's all. What's the point? The original posting asked about the order in which the expressions were evaluated, since that can have side effects. What difference does it make in what order the AND's are evaluated? Bill -- William Silvert, Habitat Ecology Division, Bedford Inst. of Oceanography P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2. Tel. (902)426-1577 UUCP=..!{uunet|watmath}!dalcs!biome!silvert BITNET=silvert%biome%dalcs@dalac InterNet=silvert%biome@cs.dal.ca