Hmm. I get the feeling you're talking about the variables you set at map init.
The simple answer is no. How would you convert a loop integer into your precise grid locations (points) or in other words, how would the loop know where the location is without putting it into a variable in the first place?
I think what you're talking about borders on the use of Hash Tables, but I'm no expert. Tell me if I'm wrong.