Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!ub!acsu.buffalo.edu From: chu@acsu.buffalo.edu (john c chu) Newsgroups: comp.lang.c Subject: When do you use "if ( a = b )"? (was Re: Funny mistake) Message-ID: <65837@eerie.acsu.Buffalo.EDU> Date: 17 Mar 91 12:53:11 GMT References: <8148@rsiatl.Dixie.Com> <15481@smoke.brl.mil> <775@camco.Celestial.COM> Sender: news@acsu.Buffalo.EDU Organization: SUNY Buffalo Lines: 12 Nntp-Posting-Host: autarch.acsu.buffalo.edu In article <775@camco.Celestial.COM> bill@camco.Celestial.COM (Bill Campbell) writes: [concerning "if ( a = b )" >Certainly it >is a legal construction, but 90% of the time when I do this it >was my mistake! It's been my mistake everytime I've done it!! I realize that it is a legal construction and I know what it does, but I was wondering... Is there a good use for this? john chu@autarch.acsu.buffalo.edu