Bj�rn Persson expounded in news:80l74nFptU1@mid.individual.net: > Adam Beneschan wrote: > >> if (code /= 0) { ... } >> >> This is valid C, so the compiler won't complain > > Are you sure? ;-) > > int main(int argc, char** argv) { > int code = 1; > if(code /= 0) { > return 1; > } > return 0; > } > > [beorn@hactar tester]$ LANG=en gcc ada_not_equal.c > ada_not_equal.c: In function 'main': > ada_not_equal.c:3: warning: division by zero > > That's even without the otherwise indispensable -Wall. > > The problem I have most often when I switch languages is that I get =, > := and == mixed up. Yep, I've been having to backspace over some := in my awk scripts lately also. Warren