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.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |