I didn't get what you said at first. I see now
Ah, I see.
If I remove the ' it red lines.
Interesting. I don't make a habit of putting tests after print (and I don't put tests into parts of a FOR statement)
I see what you mean. Can we expect all these to work?
= in a print statement just looks odd to me. Print doesn't test things, it reports them. I don't expect anything with = in it to work.
[edit]
I read the entire help file on PRINT, it does not expect a = at all. You were lucky to get anything to work with it.
Also, I see A$ = A$ is ok and A$ = B$ is ok A$ = B is not, it said not the same type, and A= A is ok.
I consider any use of = in it a bug, it should fail. (a no fail when it should?)