Object representing a range of numbers.
make System.math.range(from, to)
: Construct new range object.from
: Number to start with.to
: Number to end with.make System.math.range(from, to, step)
: Construct new range object.from
: Number to start with.to
: Number to end with.step
: Number to skip between elements in range.current
: Current value in range.fromnumber
: The beginning of the given range.step
: The amount to skip between numbers in the range.tonumber
: The end of the given range.cur()
: Returns the current number in the range.next()
: Moves pointer to next object in range.reset()
: Resets range to the beginning.