Previous Topic: Named Values

Next Topic: BIT STRING Type

Constraints

It is possible to constrain the allowed set of integers for an integer type. This is done by specifying a list of integer ranges and/or single values. For example:

( 1..10 | 20..30 | 50 | 100 )

In the above example the integer values are restricted to numbers 50, 100 and the range 1 to 30. If anything else is entered, a type check error results.