I currently have an array of already declared variables so I can go through them with a for loop. (These variables are declared in adobe captivate so I can't really go about changing them). Passing them back and forth is a bit of a problem however as the array is just storing the actual values of the variables. Here's a simplified example:
Already declared variables: item1viewed,item2viewed,item3viewed;
My added code:
var array = new Array[item1viewed,item2viewed,item3viewed];
for (i=0;i<array.length;i+=1)
{
array[i]=1;
}
how can I pass these over to the already declared variables?