Keyword: RANGE
The range keyword is used to define a range constraint for a scalar type.
A range statement includes—in this order—the reserved word "range", the name of the range, and, optionally, two simple expressions for the outer bounds of the range separated by either the reserved word "to" (the ascending direction indicator) or the reserved word "downto" (the descending direction indicator).
Example
variable Q: integer range 0 to 15;
LRM
3.1
See also