Description:
This method returns TRUE if the statement is true. The statement compares the value in "Field to test" against a specified value using the given operator.
Parameters:
|
[Required] |
Int |
"Operator" |
|
|
List values: |
GreaterThan |
||
|
GreaterThanOrEqualTo |
|||
|
LessThan |
|||
|
LessThanOrEqualTo |
|||
|
EqualTo |
|||
|
NotEqualTo |
|||
|
[Required] |
Int64 |
"Value" |
|
|
[Required] |
Field |
"Field to test" |
|
Example:
Here's a typical example taken from the X.25 decoder (example has been edited):
FIELD called_addr(Fixed2 ) IF (Fieldls GreaterThan called_addr_lgh 0)(StringOfBcd) "Called Address"
In this case a field exists only when its length(called_addr_lgh) is non-zero.