Yep, that's exactly what I meant, re nested loops.
Have attached a pic (sorry, without hosting it myself, can't figure how to embed image in the post itself), that shows both the stencyl block and underlying resultant code.
I've dragged one of the "current loop count" variables from each loop, but the code only reflects the inner loop, both times.
Oh, and sorry, was unable to view the work around you linked to.