Jaime Villate wrote:...
....
> But:
> for i: c thru c+3*b step b collect i;
> gives an error when it would be nice if it returned
> [c, c + b, c + 2*b, c + 3*b]
>
>
For obtaining the same result, this works.
for i: 0 thru 3 collect c+i*b;
what you are proposing could be an extension of for ... do as well.
I'm trying to do the minimum extension to permit "collect".
I hope to patch in
for i in [a,b,c] collect f(i)
as well.
RJF