Figure 93. Rulesheet using an Integer Value Range in Condition Values Set
Listed below are all of the possible combinations of parenthesis and bracket notation for value ranges and their meanings:
As illustrated in Rulesheet using Numeric Value Ranges in Condition Values Set and Rulesheet using an Integer Value Range in Condition Values Set, if a value range has no enclosing parentheses or brackets, it is assumed to be closed. It is therefore not necessary to use the [..] notation for a closed range in Corticon Studio; in fact, if you try to create a closed value range by entering [..], the square brackets will be automatically removed. However, should either end of a value range have a parenthesis or a bracket, then the other end must also have a parenthesis or a bracket. For example, x..y) is not allowed, and is properly expressed as [x..y).
When using range notation, always ensure x is less than y, i.e., an ascending range. A range where x is greater than y (a descending range) may result in errors during rule execution.