84
This expression...
... resolves to this value.
MyNumber!=4
0
MyNumber!=“4”
0
MyNumber!=5
1
MyName!=“John”
0
MyName!=“??ul”
1
0!=“John”
0
Greater-Than Comparison (>) Operator
The greater-than comparison operator will compare two tokens, which can be integers or strings
(assuming the string represents an integer value). The expression will return 1 if the first token has a
larger integer value than the second, and 0 if the second value is larger or equal.
For example, assuming
MyNumber
has an integer value of
4
:
This expression...
... resolves to this value.
MyNumber>5
0
MyNumber>4
0
MyNumber>3
1
Greater-Than or Equal Comparison (>=) Operator
The greater-than or equal comparison operator will compare two tokens, which can be integers or strings
(assuming the string represents an integer value). The expression will return 1 if the first token has an
integer value larger than or equal to the second, and 0 if the second value is larger.
For example, assuming
MyNumber
has an integer value of
4
:
This expression...
... resolves to this value.
MyNumber>=5
0
MyNumber>=4
1
MyNumber>=3
1
Less Than Comparison (<) Operator
The less-than comparison operator will compare two tokens, which can be integers or strings (assuming
the string represents an integer value). The expression will return 1 if the first token has a smaller value
than the second, and 0 if the second value is smaller or equal.