Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!tut.cis.ohio-state.edu!pacific.mps.ohio-state.edu!ohstpy!smithj From: SMITHJ@ohstpy.mps.ohio-state.edu Newsgroups: comp.lang.c Subject: Re: comma operator Message-ID: <3287@ohstpy.mps.ohio-state.edu> Date: 3 Aug 89 21:18:56 GMT References: <10099@mpx2.mpx.com> <93@microsoft.UUCP> <10100@mpx2.mpx.com> <44c53d5b.f9df@gtephx.UUCP> <1351@cbnewsl.ATT.COM> Lines: 15 In article <1351@cbnewsl.ATT.COM>, mpl@cbnewsl.ATT.COM (michael.p.lindner) writes: > ***FLAME ON!*** > Sigh. RTFM! The comma operator guarantees left to right evaluation, > and fprintf(...) and exit(...) ARE valid expressions in C. > sputter sputter - flame off. 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. -- /* Jeffery G. Smith, BS-RHIT (AKA Doc. Insomnia, WMHD-FM) * * The Ohio State University, Graduate Physics Program * * 3193 Smith Lab, Columbus, OH 43210 (614) 292-5321 * * smithj@ohstpy.mps.ohio-state.edu */