ThePicMan wrote: >> I wonder how many millions of dollars have been lost >> due to IF (I = 1) being written when IF (I == 1) was really intended. > > None.. since both produce compile errors. > > Since you are putting C under trial, you should at least know that > C statements are case sensitive.. OK wiseguy. I was using case just to make the code stand out from the text around it, which I suspect you fully understood. But I'm also not that familiar with C. Is it really true that keywords like "IF" are case sensitive? In other words, "if" is a keyword and "IF" is an arbitrary identifier? That sounds like another set of bugs waiting to happen. And yes I understand that modern C compilers will flag a warning with "=" in an IF statement, but I am just trying to illustrate overly lax syntax rules. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist