is less-than, <
Full Description
swirl
Syntax
  is less than | <


Purpose

OmniMark operator used to indicate one value being smaller than another. The operator is <. is less-than can be used on either string expressions or numeric expressions, but both expressions in the comparison must be of the same type.

isnt less-than is equivalent to using is greater-equal.

For example:

  do when a < b
  ...
  done

The following tests use "<" in string comparisons. The first and third tests are equivalent and evaluate as true; the second evaluates as false.

  do when "a" < ul "b"
  ...
  done

  do when "a" < "b"
  ...
  done

  do when  "a" < "b"
  ...
  done

Copyright © OmniMark Technologies Corporation, 1988-1998.