An interval indicates a range of values, and the range of values is set by a start value and a final value. It can be determined by appropriate bracket setting whether the start or end value should be included to the interval or excluded.
Interval from 100 to 200 with included interval limits
<<100, 200>>
Interval from b-50 to b+50 with excluded lower interval limit
>>b - 50, b + 50>>
Interval from b-50 to b+50 with excluded upper interval limit
<<b - 50, b + 50<<
Interval from 100 to 200 with excluded interval limits
>>100, 200<<
An interval step width can be specified by specifying a third parameter.
Interval with the enclosed limits 100 and 200, with only one in ten value allowed.
<<100, 200, 10>>
This results in the following allowed values: 100,110,120,130,140,150,160,170,180,190,200
A value is tested for containment in an interval by the In or NotIn operator.
Dim A As Boolean, B As Long
B := 200
A := 190 In <<B - 50, B + 50, 11>>
The value of variable A is False because the value 190 meets the interval limits but does not meet the interval increment.