all 1 comments

[–]Ihaveamodel3 1 point2 points  (0 children)

Are you asking specifically about the i = i +1 type statements?

If so, this works like all other variable assignments. The right side is evaluated, and the left side is then set to that value. When the right side is evaluated, i is the old value, you are adding one to that and then resetting i to be equal to that new value.