Numeric expressions can be used in:
- setting and changing counter values
- indexing shelves
- in some conditions
- in most other parts of OmniMark where a numeric value can be used
In OmniMark a numeric expression is an integer value between -2,147,483,647 and 2,147,483,647.
The simplest forms of a numeric expression are:
- A decimal integer expressed as an optional plus ("+") or minus ("-") sign followed by a sequence of digits.
- The value of a
counter
item.
- Any string expression can be used as a numeric value, if its representation forms a valid number. For example, "-33" could be used in a context where a numeric value is expected, and it would be interpreted as the number -33.
Because any string expression can be used as a numeric value, saved pattern text, attribute values and even element content can be used as a numeric value providing that the contents form a valid number.
Numbers with a radix other than 10 must be expressed as a string expression, and can be converted to a numeric expression using the operator base
.
Types of numeric operators are:
- sign operators
- arithmetic operators
- bit-oriented operators
- comparison operators
Generated: April 21, 1999 at 2:00:50 pm
If you have any comments about this section of the documentation, send email to [email protected]
Copyright © OmniMark Technologies Corporation, 1988-1999.