Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!princeton!caip!brl-adm!brl-smoke!rbj@icst-cmr From: rbj@icst-cmr (Root Boy Jim) Newsgroups: net.lang.c Subject: Re: swap() macro Message-ID: <1228@brl-smoke.ARPA> Date: Tue, 10-Jun-86 05:45:16 EDT Article-I.D.: brl-smok.1228 Posted: Tue Jun 10 05:45:16 1986 Date-Received: Fri, 20-Jun-86 04:20:43 EDT Sender: news@brl-smoke.ARPA Lines: 15 Can someone construct a version that makes int *a, *b; swap (*a++,*b++); work right? Paul Schauble at MIT-Multics.arpa Probably not. In general, macros don't work on arguments that have side effects. (Root Boy) Jim Cottrell PEGGY FLEMMING is stealing BASKET BALLS to feed the babies in VERMONT.