by enum · 17y ago · 0 comments
i = 0
increment i
<do loop body with i>
It could have been: i = 0
increment 1
create new environment
bind i here
<do loop body>
In the second case, each loop body would have its own "i". In the first case, they all share the same "i".