The <<ne...>> function compares arg1 and arg2, based on the value of the “type” parameter if present, and returns false if the two values are found to be equal. Otherwise, this function returns true. If the type parameter is not specified, the default comparison is as Strings.
When a type is specified any values not of that type are converted prior to the comparison. So, if an integral data tag contains a value of 10 and a decimal number contains a value of 10.1, and the type is Int, these two values would be considered equal, as the decimal value would be converted to an integer, and the decimal portion is truncated.
<<ne arg1 arg2 [type=Int|Float|String]>>
- <<ne arg1
- arg1 The first value of the two compared by the function. May be a hard coded value, data tag, or a function.
- arg2 The second value of the two compared by the function. May be a hard coded value, data tag, or a function.
- type -
This optional named parameter specifies how the function will compare
the values of the two arguments. The acceptable values for this
- Int - The arguments are to be compared as Integral Numbers.
- Float - The arguments are to be compared as Decimal Numbers (short for “floating point number”)
- String - The arguments are to be compared as Strings