list.range

Syntax

l := list.range(n1,n2<,ni>)

Get a range of numbers.

Returns a range of numbers, from n1 to n2 using interval ni.

If ni is not given it is assumed to be 1.

A negative interval is possible, in which case n2 should be less than n1.

If all values are integers, the list entries will be all integers. Otherwise the list entries will be floating point values.

Returns:l - the return sequence of numbers
Arguments:n1 - the starting number to use n2 - the ending number ni - the interval to use to generate the list of numbers