Page 1 of 1

Joining Lists

Posted: 02 Jun 2015 16:10
by acerzw
Hi,

What is th easiest way to join to lists, do I have to iterate throught the elements of the first list and individually add them to the second or is there an easier way, probably in front of my face but can't see a prebuilt function/operator.

Rob

Re: Joining Lists

Posted: 02 Jun 2015 18:50
by Martin
Hi,

No, there no function for this yet. You have to iterate, about like this for(e in list1) addElement(list2, e);
I'll add a function like join or addAll to the todo list.

Regards,
Martin

Re: Joining Lists

Posted: 02 Jun 2015 18:57
by acerzw
Thanks for confirming the situation Martin, I shall iterate.