Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!ico!ism780c!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.lang.c Subject: Re: comma operator Message-ID: <14195@haddock.ima.isc.com> Date: 4 Aug 89 16:10:55 GMT References: <10099@mpx2.mpx.com> <93@microsoft.UUCP> <10100@mpx2.mpx.com> <44c53d5b.f9df@gtephx.UUCP> <1351@cbnewsl.ATT.COM> <3287@ohstpy.mps.ohio-state.edu> Reply-To: karl@haddock.ima.isc.com (Karl Heuer) Organization: Interactive Systems, Boston Lines: 10 In article <3287@ohstpy.mps.ohio-state.edu> SMITHJ@ohstpy.mps.ohio-state.edu writes: >Maybe I'm mistaken, but I'm sure that all the documentation I've read warns >that the *comma* operator ----does not----- guarantee evaluation in any order. >Specifically, the Microsoft 5.0 manual mentions this. You're mistaken. Probably you're thinking of the comma *punctuator*, e.g. the thing used in function calls. Function arguments can be (and are) evaluated in an unspecified order, but this has nothing to do with the comma operator. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint