Why == works in an if statement?

Jack - wow, thank you for the very clear and concise explanation about "assignment" and "comparison" operators. It is very much appreciated. I also appreciate you taking the time to point out what my code was actually doing. It all makes sense now.

Anyone know if > or < are valid comparison operators or is >> and << used instead?

Thanks in advance,

Don