What's the easiest way to duplicate elements in a list
myListA = {"y"};
//Result I need:
myList = {"y", "y"};
// This should work with an arbitrary number of elements in the list
myListB = {"y1", "y2", "y3"};
//Results
myList = {"y1", "y2", "y3","y1", "y2", "y3"};
Is this what you are looking for?
myListA={"y"};
myList = myListA || myListA;
Another way:
Names Default to Here( 1 );
list = { "a", "b", "c" };
Repeat( list, 3 );
Is this what you are looking for?
myListA={"y"};
myList = myListA || myListA;
Yes, it was a workaround in my script to deal with this bug.
Another way:
Names Default to Here( 1 );
list = { "a", "b", "c" };
Repeat( list, 3 );