Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ncar!boulder!pikes!udenva!isis!nbires!maa From: maa@nbires.nbi.com (Mark Armbrust) Newsgroups: comp.arch Subject: Fun C typos (was *p++ = *q++) Message-ID: <223@nbires.nbi.com> Date: 8 Feb 89 23:21:15 GMT References: <777@atanasoff.cs.iastate.edu> Reply-To: maa@nbires.UUCP (Mark Armbrust) Distribution: usa Organization: NBI Inc, Boulder CO Lines: 13 In article <777@atanasoff.cs.iastate.edu> hascall@atanasoff.cs.iastate.edu (John Hascall) writes: > > I guess it's just a knee-jerk reaction to "=" in a "while". > I just love typos in C. One time I ended up with something like: if (a |= b) ... The terminal I was using displays | as a broken vertical bar and I was consistantly reading it as the ! it was supposed to be. Finally figured it out when I started looking at the generated code. Mark