“John”
:
This expression...
... resolves to this value.
MyNumber==4
1
MyNumber==“4”
1
MyNumber==5
0
MyName==“John”
1
MyName==“J*”
1
0==“John”
1
Not-Equal Comparison (!=) Operator
The not-equal comparison operator will compare two tokens, which can be strings or integers. Exactly
opposite to the equal comparison operator, the expression will return 0 if the two tokens are equivalent,
and 1 if they are NOT equal.
String values can be compared against wildcard values, e.g.
“Hello*”
.
For example, assuming
MyNumber
has an integer value of
4
, and
MyName
has a string value of
“John”
:
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
Summary of Contents for WACI NX-22
Page 36: ......
Page 53: ...Finally drag and drop selected files from your File Explorer...