Code: Select all
list=newList("one","two","three");
var_string_1 = "one"
var_string_2 = "two"
var_string_3 = "three"
I'm sure this is simple with the correct script syntax but it's escaping me...
Thanks in advance.
Moderator: Martin
Code: Select all
list=newList("one","two","three");
Code: Select all
list = newList("one","two","three");
for(i in list)
setValue(i, i); //one = "one"
for(i in [0 to length(list)-1])
setValue("var_string_{i+1}" , list[i]); //var_string_1 = "one"