Path: utzoo!mnetor!uunet!husc6!cmcl2!brl-adm!adm!mrd@sun.mcs.clarkson.EDU From: mrd@sun.mcs.clarkson.EDU (Michael R. DeCorte) Newsgroups: comp.lang.c Subject: comma operator Message-ID: <11335@brl-adm.ARPA> Date: 20 Jan 88 01:36:35 GMT Sender: news@brl-adm.ARPA Lines: 16 > Gee, wouldn't it be nice if we could do: > > for ({i = 0; sum = 0;}; i < limit; ++i) sum += a[i]; I would like something to the effect int x; printf("%d\n", {int a;.....; a=x;}); in others words, a block can return a value. Gee think of the #defines you could make Michael DeCorte mrd@clutx.clarkson.edu mrd@clutx.bitnet