John Mitchell wrote: > In C, and maybe assembly, a better phrase is the following: > > if (020H != Buffer) > That is, the constant is on the *left* hand side of a comparison. If > you slip, and write: > > if (020H = Buffer) > > you'll get the the appropriate error from your compiler. Reordering the operands is also real helpful in "for" and "while" expressions, and around "&&" and "||" operations. It's also a good idea to ALWAYS use parentheses, so you don't get bitten by precedence/associativity bugs like Clyde's favorite: if (x & 0xF0 == 0x20) //should be "if ((x & 0xf0) == 0x20)" or mine: *ip++ //almost certainly should be "(*ip)++" -Andy === Andrew Warren - fastfwd@ix.netcom.com === Fast Forward Engineering - San Diego, California === http://www.geocities.com/SiliconValley/2499