Loading

RANGE

counters

RANGE pushes onto the stack a list of integers in the given range [start included, end excluded[. If start is not in the parameter list, start=0.

RANGE also accepts a step parameter in the parameter list.

RANGE is available since version 1.0.0.

See also

Signatures

Examples

[ 10 ] RANGE [ 0 10 ] RANGE // Same as previous [ 0 10 2 ] RANGE // With a step [ -1 11 3 ] RANGE [ -1.1 11.9 3.99 ] RANGE // Same as previous line, doubles will be casted to integers, floating part is ignored.