![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|||||
|
|
|||||
| 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 |
is less than | <
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 |
| ---- |