SYNTAX

Boolean <Expression1> <> <Expression2>
DateTime* <DateTime1> <> <DateTime2>
Number <Number1> <> <Number2>
String <String1> <> <String2>
Boolean Returns a value of true if <Expression1> does not have the same truth value as <Expression2>.
DateTime Returns a value of true if <DateTime1> does not equal <DateTime2>. This is equivalent to <DateTime1> not occurring “on” <DateTime2>
Number Returns a value of true if <Number1> is not equal to <Number2>. Different numeric data types may be compared in the same expression.
String Returns a value of true if <String1> is not equal to <String2>. 

The Operators row of the table in Summary Table of Vocabulary Usage Restriction applies. No special exceptions.

Note: Use of < > when using custom data types - If your Vocabulary uses custom data types, there are limits to the validity of < > in cells. In the following illustration, the not operator will validly work against a custom data type label, a value where a label is in use, and the value of a value-only definition. However, only the value where a label is in use is valid when < > is used.

The following Rulesheet uses not equal to to test whether decimal1 equals decimal2, and assign a value to string1 based on the result of the comparison.

A sample Ruletest provides two examples. Input and Output panels are shown below: