Path: utzoo!mnetor!uunet!husc6!hao!boulder!tramp!swarbric From: swarbric@tramp.Colorado.EDU (Frank Swarbrick) Newsgroups: comp.lang.c Subject: Re: comma operator Message-ID: <4175@sigi.Colorado.EDU> Date: 6 Feb 88 00:37:49 GMT References: <3819@sigi.Colorado.EDU> <5080013@hpfcdc.HP.COM> <7120@brl-smoke.ARPA> <3887@sigi.Colorado.EDU> <1434@sugar.UUCP> Sender: news@sigi.Colorado.EDU Reply-To: swarbric@tramp.Colorado.EDU (Frank Swarbrick) Organization: University of Colorado, Boulder Lines: 18 In article <1434@sugar.UUCP> peter@sugar.UUCP (Peter da Silva) writes: :In article <3887@sigi.Colorado.EDU>, swarbric@tramp.Colorado.EDU (SWARBRICK FRANCIS JOHN) writes: :> #define swap(a,b) ((a) = ((b) = ((a) = (a) ^ (b)) ^ (b)) ^ (a)) : :It is dependent on order of evaluation of assignments. It might work on your :compiler, but it's not guaranteed. : :What does "inline" do if you get it to inline a swap routine? (I'm still recovering from the extreme embarrassment of posting this in the first place...) Anyway, I don't know. What is "inline"? Frank Swarbrick (and his cat) swarbric@tramp.UUCP swarbric@tramp.Colorado.EDU ...!{hao|nbires}!boulder!tramp!swarbric "No one can hear when you're Screaming in Digital!"