in reply to Quote or not to quote, my question!
'1' creates a string constant.
1 creates a number constant.
Since == requires numbers, it's clearer if you actually give it a number. If you don't, it'll still work because whatever you pass to it will get converted into a number.
|
|---|