Confused about global vs local scoping in for loops in 1.0

is one of the latest ones.