in reply to array in for loop
It works perfectly, but perhaps it doesn't do waht you want.
To find out, you'll have to tell us what this is supposed to do. "It doesn't work" is no description of a problem, it is a senseless statement without context.
--
|
|---|