in reply to Dynamically assigning number of for loops?

We're not big on answering homework questions here. Try Google.

rdfield