|
  
Range
Format: x .. y
Arguments: [num] x Lower limit and optional
second element
[num] y Upper limit and optional step size
Returns: [num] A list of numbers between x and y
inclusive
Description: The Range operator produces a list
of numbers. Normally, the numbers are sequential from x to
y in steps of 1. You can specify a different step size in
either one of two ways. First, by specifying a pattern to follow
(e.g., [x1,x2]..xn);
or second, by explicitly specifying a step size (e.g., x1..[xn,step]).
Examples: 1..5 = [1,2,3,4,5]
5..1 = [5,4,3,2,1]
[1,1.5]..3 = [1,1.5,2,2.5,3]
1..[3,0.5] = [1,1.5,2,2.5,3]
See Also: List Literal,
makelist
|