Multiple Ranges for the Add Attribute Command

When defining the range, remember that you can use more than one Range clause. More than one clause might be required.

range between VALUE {inclusive|exclusive} VALUE {inclusive|exclusive}

For example, if you have a situation where the attribute value can be any uppercase letter except for I or O (since these can be confused with numbers), you must define multiple ranges to exclude those two letters:

range < I
range between J inclusive N inclusive
range > O

When you define multiple ranges, the value only needs to meet the requirements of one of the ranges to be valid. For example, you could define these ranges:

range >= 1 
range <= 10

It might seem that the above ranges define a value between 1 and 10 inclusive. However, they actually define values of anything greater than or equal to 1, or anything less than or equal to 10. The values 50 and -42 are valid values for an attribute with these ranges: 50 is greater than 1 and -42 is less than 10. If your intent is to define a range from 1 to 10, you would use this definition:

range between 1 inclusive 10 inclusive;