Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!umd5!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: comma operator Message-ID: <7120@brl-smoke.ARPA> Date: 18 Jan 88 01:26:56 GMT References: <3819@sigi.Colorado.EDU> <5080013@hpfcdc.HP.COM> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 7 In article <5080013@hpfcdc.HP.COM> boemker@hpfcdc.HP.COM (Tim Boemker) writes: >... Why can't I write it the "obvious" way? Observe the extra semicolon you would get, which would make the following "else" invalid syntax (or perhaps it would link up with the wrong "if"). By the way, I don't think there IS a good way to write a generic swap macro. Didn't we go over this about a year ago?