- May
- 13,590
- 201
I have developed the good habit of putting spaces wherever it might prevent errors. But recently, in a copy/paste frenzy, I goofed ... and discovered this. Boiled down, it amounts to this (below) where both expressions are deemed FALSE and there's no error message. What's happening?
If it's not recognizing the inequality operator, what's the difference between that and this, which does produce an error message?
Code:
v:\> if 1!=0 echo foo
v:\> if 1!=1 echo foo
v:\>
If it's not recognizing the inequality operator, what's the difference between that and this, which does produce an error message?
Code:
v:\> if 0xx1 echo foo
Usage : IF [/I] [NOT] condition [.AND. | .OR. | .XOR. [NOT] condition ...] command