I'm looping over an array named shopData and need to use values within that array to create new variables. Inside the loop, I'm trying something like this:
shop_(shopData[i].shopName).keyword = shopData[i].keyword;
but I'm having trouble with the portion in () and can't seem to find the right syntax for this.
Assuming shopData[i].shopName = "foo" I need to create a variable named:
shop_foo.keyword = value
or if shopData[i].shopName = "orange":
shop_orange.keyword = value
Is this even possible with AS2?