D - Possible compiler error?
- Jonathan Andrew (7/7) Mar 12 2003 Walter, in a piece of code I was writing I had
- Sean L. Palmer (8/15) Mar 12 2003 No, it would parse as:
Walter, in a piece of code I was writing I had foo =+ 0.2; instead of the correct foo += 0.2; The compiler didn't pick up on it, possible error? Thanks, -Jon
Mar 12 2003
No, it would parse as: foo = +0.2; which is equivalent to: foo = 0.2; So your program is wrong, but the compiler is not busted. Sean "Jonathan Andrew" <Jonathan_member pathlink.com> wrote in message news:b4p654$14t$1 digitaldaemon.com...Walter, in a piece of code I was writing I had foo =+ 0.2; instead of the correct foo += 0.2; The compiler didn't pick up on it, possible error? Thanks, -Jon
Mar 12 2003