Why would a for loop run past the last index?

Thank you so much for this, I was extremely confused as to why this would be happening. Capturing the index in a local variable prior to incrementing the index and incrementing that variable instead of the index seems to have resolved this issue. Thank you again!

1 Like