I need a function that can simulate the C++ for statement.
I want something that I can give a starting point, an end and another variable that will say how much to increment at a time.
For example if I tell it to start at 10, end at 1 and increment 2 at a time, it will generate 10, 8, 6, 4, 2.
You want
step. It is used like this:This results in: