rtris (10/23/82)
Someone suggested that someone else was using "if(x & a == b)" the & instead of &&. Entirely possible of course, but the idea never occurred to me. In fact the article saved chasing a bug because I had if clauses of that form in a new program, and "x & a" is a variable being masked! I.e. && would hardly do what I wanted! In other words I just want to state that this is a perfectly valid kind of thing to do, and thus the problem is real. Ralph.
mkg (10/26/82)
When writing not so obvious (to others or yourself for that matter) expressions like "if (x & a == b)", one should ALWAYS use parenthesis to emphasize the "true" meaning of the expression. Then it is clear to all that what the author said is what the author REALLY meant. Marsh Gosnell BTL Piscataway (201) 981-2758 harpo!whuxlb!mkg