Skip to content
Prev 312417 / 398506 Next

How to subtract the counter i in for loop?

On Nov 29, 2012, at 1:55 PM, C W wrote:

            
If you expected the else clause to assign something to the samples vector, you are mistaken.
You could start by telling us what you wanted to happen. You can change the index of a for loop inside the body, but it will not "back up the process" since at the end of the loop the next "i" will not depend on what you changed it to inside the loop.