01-06-2006 12:51 PM
01-06-2006 12:55 PM
Hi Scott,
For Loops will always increment their iteration count, there's no way to change that. However, you could do some pretty simple math on the total count and the iteration terminal in order to get a decrementing value each iteration of the loop.
-D
01-06-2006 01:15 PM
As the previous poster suggests you just need a starting value, and then the "iteration count" subtracted from that number will give you the decrement. If you are using the autoindex of an array to determine the number of iterations you can get the starting number from the "N" in the upper left corner (similarly, if you aren't autoindexing that is where you would wire the number of indexes to perform) and then subtracting the iteration number from that number will give you a decrement.
P.M.
01-06-2006 01:15 PM
I did think about the math, but it wouldn't work in my case. I guess I'm just going to have to try using a while loop instead.
Thanks for the help
Scott
01-06-2006 01:22 PM
Hey Scott,
I'm curious about your use case. Can you describe in a little more detail what you're trying to do, and why a For Loop won't suffice?
Thanks,
-D
01-06-2006 01:23 PM
01-06-2006 01:29 PM
01-06-2006 01:47 PM
01-06-2006 02:29 PM
01-06-2006 02:38 PM