Arithmetic and Comparison Operators

[Previous] [Next]

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).



XML and SOAP Programming for BizTalk Servers
XML and SOAP Programming for BizTalk(TM) Servers (DV-MPS Programming)
ISBN: 0735611262
EAN: 2147483647
Year: 2000
Pages: 150

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net