Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uunet!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: ambiguous ? Message-ID: <6625@ficc.uu.net> Date: 22 Oct 89 03:03:45 GMT References: <1989Oct20.175352.20598@utzoo.uucp> <14102@lanl.gov> Reply-To: peter@ficc.uu.net (Peter da Silva) Organization: Xenix Support, FICC Lines: 13 In article <14102@lanl.gov> jlg@lanl.gov (Jim Giles) writes: > Gee, isn't it interesting that the only order dependent behaviour you > are willing to trust are the "well-defined" && and || operators. Short-circuit evaluation of logical operators is a well-researched subject. In any language in which this can occur (such as C and ADA), the order of evaluation is well-defined. These particular semantics are *not*, as you imply, a quirk of the C language. -- Peter da Silva, *NIX support guy @ Ferranti International Controls Corporation. Biz: peter@ficc.uu.net, +1 713 274 5180. Fun: peter@sugar.hackercorp.com. `-_-' "ERROR: trust not in UUCP routing tables" 'U` -- MAILER-DAEMON@mcsun.EU.net