range

..

get list of values in given range (inclusive)


Parameters

range from :integer :char
      to :integer :char

Attributes

step:integeruse step between range values

Returns

  • :block

Examples

copy
print range 1 4 ; 1 2 3 4 1..10 ; => [1 2 3 4 5 6 7 8 9 10]

copy
print `a`..`f` ; a b c d e f

Related