Actually, the question sounds so:
- How in JS to address to to contents (to read or change it) a variable which name is in advance not known, but it is known, what it will be in another (known) variable?
For example, in a certain cycle from 1 to 9 program names of variables are formed:
[i] stroka1..., stroka9; [/i]
and right after - in a variable with this name it is necessary to add formations of each name a certain collecting line. Then, after that cycle in the further text of the program it will be necessary to address few times to contents of each such variable. Probably, for such reversal - it will be better to tire out the created aforementioned names of variables in the intermediate array.
Whether it is possible to make it means JS? Prompt, please.