RANGE¶
Info
New in Atfinity 17.
Description¶
RANGE produces a list of consecutive integers. With one argument it counts from 0 up to (but not including) that argument. With two arguments it counts from the first up to (but not including) the second.
Use RANGE together with map() to iterate over indices.
Syntax¶
Returns: a list of integers.
Example¶
This returns [0, 1, 2, 3].
This returns [2, 3, 4].