iter Function (GPL)
Syntax
iter(<from>, <to>, <step>)
<from>. The first value in the new column. Subsequent values are iterated from this one.
<to>. The maximum value that the new column can contain.
<step>. A value defining the amount by which values are iterated.
Description
Creates a new column of data with values in a specified range.
Intermediate values are calculated by adding the step value to the
previous value. For example, iter(1,5,1)
generates
the values 1, 2, 3, 4, 5. iter(1,10,2)
generates
the values 1, 3, 5, 7, 9. Note that 10 is not included in the second
example because it cannot be iterated from the previous value.
Examples
DATA: x = iter(-100,100,1)
TRANS: y = eval(x**2)
ELEMENT: line(position(x*y))