At the risk of sounding stupid, as I have already been called in another thread! When you nest loops within other loops, are the variables you set in one loop available to call upon in a nested loop?
Yes. Actually, why not just try it yourself and see?