in reply to Really need help with loop variable
how about some quotes around the bareword "NEW_PD"???
~Particle