Hi,
I would like to create an undefined number of variables as my page loads.
I want to use numbers to change the name of the variable. Here's how it would work:
1. declare variable
2. create new variables in a loop
Afterward I would have a list of variables depending on how long the loop goes:
myVar1
myVar2
myVar3
I would have each store a different value determined by it's number.
Is there any way I can do this?
Thank you for your help!
Ryan
I would like to create an undefined number of variables as my page loads.
I want to use numbers to change the name of the variable. Here's how it would work:
1. declare variable
2. create new variables in a loop
Afterward I would have a list of variables depending on how long the loop goes:
myVar1
myVar2
myVar3
I would have each store a different value determined by it's number.
Is there any way I can do this?
Thank you for your help!
Ryan