DekGenius.com
Team LiB   Previous Section   Next Section
not_eq operator Inequality operator

equality-expr := equality-expr != relational-expr | 
    equality-expr not_eq relational-expr

The not_eq operator compares two expressions for inequality. It returns true if the operands are different or false if they are the same. The not_eq keyword is interchangeable with the != token. Note that there is no keyword equivalent for the == operator.

See Also

expression, Chapter 3, <ciso646>

    Team LiB   Previous Section   Next Section