### 6.5.1 Definition of a range of values

The .. is an infixed operator which sets a range of values; given two real numbers a and b, the range of values between them is denoted a..b.

##### Remark.

Note that the order of the boundaries of the range is significant. For example, if you input

B:=2..3; C:=3..2

then B and C are not equal; B==C returns 0.

#### Examples

1..4

1 .. 4 |  |  |  |  |  |  |  |  |  |

1.2..sqrt(2)

1.2 .. | √ |
2

##### Remark.

Since .. is an operator, the parts of an expression can be picked out of it (see Section 8.2.3). In particular, the left and right commands find the left and right endpoints of a range (see Section 5.2.4, Section 8.2.3, Section 6.6.2, Section 6.3.6, Section 9.3.4 and Section 9.3.5 for other uses of left and right.) For example:

left(2..5)

2 |  |  |  |  |  |  |  |  |  |

right(2..5)

5 |  |  |  |  |  |  |  |  |  |