is equal, = OR !=
Full Description
swirl
Syntax
  expression (!)?= expression


Purpose

A logical operator, used to compare two numeric expressions. Can be used either as = (is equal) or as != (isnt equal). Though is equal and isnt equal are valid, it has become more common to use the symbols = and !=, respectively. is equal can be used with string expressions as well as numeric expressions.

  do when a = b
  ...
  done

  do when a != b
  ...
  done

Note that = and != can also be used to compare two test expressions for equality or inequality.

With OmniMark V3, you can use the = operator to perform multi-part switch comparisons.

Copyright © OmniMark Technologies Corporation, 1988-1998.