Date: Fri, 10 Aug 2001 07:46:16 -0700 (MST) From: Les Biffle <les@safety.net> To: europax@home.com (Rob) Cc: hackers@FreeBSD.ORG (hackers@FreeBSD.ORG) Subject: Re: the =+ operator Message-ID: <200108101446.HAA99867@safety.net> In-Reply-To: <3B73F0BC.548D40B3@home.com> from Rob at "Aug 10, 2001 07:33:32 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> My first post on hackers, so please don't flame me too bad :) I think > that only an old hacker can give me the answer :) > > I've searched far and wide on search engines to find out what the =+ > operator does, to no avail. I'm porting some old code and found it. I ran into this a couple of times, and it was always a typo by the programmer. Whether they meant to use "+=" or not wasn't always clear. In C, you should imagine reading the code with all of the non-quoted white space removed to see how the compiler will treat something, so "a =+ 1;" is the same as "a=+1;" or "a = +1;" There has never been an operator =+, even checking back to the BCPL days. So, read the code carefully to see if you can figure out if they meant += Regards, -Les -- Les Biffle Community Service... Just Say NO! (480) 585-4099 les@safety.net http://www.les.safety.net/ Network Safety Corp., 5831 E. Dynamite Blvd., Cave Creek, AZ 85331 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108101446.HAA99867>