The loop variable i is not defined outside the body of the loop (unless you use the outer keyword).
1 Like
The loop variable i is not defined outside the body of the loop (unless you use the outer keyword).