In a message dated 10/8/01 12:06:09 PM Eastern Daylight Time, [EMAIL PROTECTED] writes:
<< REMEMBER... = != == ! >> You know, there's another way to avoid that mistake if you're willing to change your style a little bit. In all logical tests, put the variable on the RIGHT side. if (5 == x) instead of if (x == 5) When you forget to use the equality symbol, you get an instant compile error. if (5 = x) <<you can't perform that assignment>> if (x = 5) << you can perform that assignment, but your program doesn't do what you expected... what went wrong? >> Flipping your terms around like that works great in C, too. Nelson -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]