This is very dangerous, IMO. It opens you up for getting things "misaligned" and then you have the wrong value in the wrong variable.
Why aren't you storing the variable name AND the value in the same array? --- In [email protected], "markflex2007" <markflex2...@...> wrote: > > Hi, > > Do you have a idea if I want to assign values in for loop?I already have two > arrays(one is for variable names,other is for variable values) > > I have many values to assign and I want to assign them in loop.otherwise I > have to repeat many same assign statements. > > Do you have a idea how to do this. > > Thanks > > Mark >

