problem with simple IF statement

ED201:
thanks, it did not show any errors, I changed to == works now

That is because it is not a syntax error. It is a logic error you made.

Paul