Language:
Русский
English
Subrange types
A subrange type is a range of values from an ordinal type called the host type.
Syntax
Constant1 .. Constant2
Remarks
The definition of a subrange type specifies the least and the largest value in the subrange.
Both constants must be of the same ordinal type, and the first constant must be less than or equal to the second constant.
The $R compiler directive controls range checking of subrange types.
Examples
{ Subranges }
0..99
-128..127