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.
For example, assuming
MyNumber
has an integer value of
4
:
This expression...
... resolves to this value.
MyNumber<5
1
MyNumber<4
0
MyNumber<3
0
Less Than or Equal Comparison (<=) Operator
The less-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 smaller than or equal to the second and 0 if the second value is smaller.
For example, assuming
MyNumber
has an integer value of
4
:
This expression...
... resolves to this value.
MyNumber<=5
1
MyNumber<=4
1
MyNumber<=3
0
Logical-And (&&) Operator
Assume you have two Boolean (true/false) expressions,
Expression1
and
Expression2
, each
Summary of Contents for WACI NX-22
Page 36: ......
Page 53: ...Finally drag and drop selected files from your File Explorer...