I have a large chunk of data, I want to split it i...
# suitescript
n
I have a large chunk of data, I want to split it into several variables. I don't know how many variables up front. I was splitting the data in to an array then looping through and doing var myvar = "abcvariable" + x (where x is the array index) then this[myvar] = myArray[x]; This works fine in the console but if I try the same in a SuiteLet it will not save and errors with "Syntax error: missing variable name" Any suggestion, how, in a SuiteLet I might generate dynamic variable names and assign values.???