contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
operator   is equal, = OR !=    
  Related Syntax    

Summary   Boolean

The result is true if the numeric expressions are equal, and false if they are not. isnt equal reverses the results.

 

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.

    Related Syntax
   is greater-equal
   is greater-than
   is less-equal
   is less-than
 
 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:08 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.