Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!mentor.cc.purdue.edu!pur-ee!pur-phy!sho From: sho@pur-phy (Sho Kuwamoto) Newsgroups: comp.lang.c Subject: Re: comma operator: keep away? Message-ID: <2179@pur-phy> Date: 23 Apr 89 02:21:35 GMT References: <19913@iuvax.cs.indiana.edu> <10092@smoke.BRL.MIL> <19926@iuvax.cs.indiana.edu> Reply-To: sho@newton.physics.purdue.edu.UUCP (Sho Kuwamoto) Organization: Purdue Univ. Physics Dept., W. Lafayette, IN Lines: 26 In article <19926@iuvax.cs.indiana.edu> bobmon@iuvax.cs.indiana.edu (RAMontante) writes: : << [ me ] <<, ?:, structs, unions, etc. All of these could be done with goto and explicit pointer manipulation, etc., if you wanted to. But why? As for another example where you could use the comma operator usefully, how about... for(i=0, p=head; p->next != NULL; i++, p=p->next) or something. -Sho