..=
Factor handbook » The language » Collections » Sequence operations » Numeric ranges

Prev:..<
Next:<range> ( a b step -- range )


Vocabulary
ranges

Syntax
start ..= end


Word description
Defines a literal range from start to end (inclusive) with a step of 1.

Examples
USING: arrays prettyprint ranges ; 1 ..= 10 >array .
{ 1 2 3 4 5 6 7 8 9 10 }


See also
[a..b]

Definition