Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: comma operator Message-ID: <10641@smoke.BRL.MIL> Date: 1 Aug 89 14:55:08 GMT References: <10099@mpx2.mpx.com> <93@microsoft.UUCP> <10100@mpx2.mpx.com> <10562@smoke.BRL.MIL> <1989Jul24.194646.3012@nc386.uucp> <5630@pt.cs.cmu.edu> <1989Jul28.174033.12734@jarvis.csri.toronto.edu> <918@helios.toronto.edu> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 6 In article <918@helios.toronto.edu> dooley@helios.physics.utoronto.ca (Kevin Dooley) writes: >Can anybody tell me if there is a usage where the comma is 'better'. The comma operator's main legitimate use is in the definition of macros that are expected to act like function calls but perform actions too complex for a single (non-comma) expression.