OmniMark provides a full set of arithmetic and comparison operators. The arithmetic operators available in OmniMark are + (addition), - (subtraction), * (multiplication), / (division), and modulo (the remainder you get when you divide the number by the base value). Additional operators are available for some numeric types provided by OMX components.
OmniMark also provides a full set of comparison operators. Here are some examples:
process do when x = y output "equal%n" else when x > y output "greater%n" else when x < y output "lesser%n" done |
The other available comparison operators are != (not equal), >= (greater than or equal to), and <= (less than or equal to).