contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
operator   is less-than, <    
  Related Syntax    

Summary   Boolean

The result is true if the first numeric expression is smaller than the second, and false otherwise. Using isnt less-than reverses these results.

 

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

    Related Syntax
   is greater-equal
 
 
----  

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

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

Copyright © OmniMark Technologies Corporation, 1988-1999.