Comment Re:Wrong (Score 1) 1268
That's not what = means. = is ASSIGNMENT. They're looking for ==.
Much as I know you're joking, I'd really love to get rid of this bane that C has brought upon us. Many previous languages used
You'd prefer something like '<=>' to indicate 'logical equality' then?
That's more similar to the actual symbol used. But then that's not so easy to type as '=='.
http://en.academic.ru/dic.nsf/enwiki/145316
In programming languages older than Algol (from which Pascal was derived) such as FORTRAN, the single '=' was good enough to designate both variable assignment AND logical equality.
It was your precious Pascal (along with Algol) that muddied the waters.