<c chat> A way to force-check putting ='s in if()'s is to switch the LHS and the RHS, like so: if ( j+1 = j) and if (callfunc() = k) won't compile, but if ( j+1 == j) and if (callfunc() == k) will. </c chat>