What I am currently doing is to initialize arrays and store multiple strings in it, then put the arrays in a list.
var US_COTTON = ["US_COTTON.csv", "US COTTON", "USDCents/LB", "USA", "D"];
var INDIA_COTTON = ["INDIA_COTTON.csv", "INDIA COTTON", "USDCents/LB", "INDIA", "D"];
var list = new Array();
list.push(US_COTTON);
list.push(INDIA_COTTON);
WScript.Echo(list);
The above code is what I currently wrote, and it creates a variable called %Result&
However, when I use %Result% outside of the Javascript, for example, if I do %Result[0][0]%, it does not print "US_COTTON.csv", but rather print out a Character, 'U'.
Does anyone know what I am missing here?
Thanks in advance!