Also,
you can use a For-loop, which can be named. Then you can access the current iteration of that loop with it's name, like loopindex("loopname"). You can do that for nested loops. E.g.:
For "x" from 1 to 10
For "y" 1 to 10
Place object at loopindex("x") *32, loopindey("y") * 32
This will create 100 objects in a 32x32 grid in 10 rows and 10 columns.
To loop through every object with for:
For "name"
from 0 to Object.Count -1
Do stuff with object where Object.IID = loopindex("name")