Ne

ordering-functions not equals (==)

syntax

  • ne(a, b)
  • a <> b

definition

ne(a, b) or a <> b results in a boolean data-item indicating if the values of data item a are not equal to the corresponding values of data item b.

description

The comparison between two missing values (null == null) results in the value False.

applies to

Data items with Numeric, Point. string or bool value-type

conditions

  1. domain-unit of the argument must match or be void (literals or parameter can be compared to data items of any domain).
  2. argument must have matching:

example

1. attribute<bool> AneB (CDomain) := ne(A, B);
2. attribute<bool> AneB (CDomain) := A <> B;

see also