"union" lets you combine arrays.
Phil
On 2/18/11 10:34 AM, Nonsanity wrote:
I thought I remembered that LiveCode has a fold operator of some sort on
arrays, but I can't seem to find it. Was I mistaken?
http://en.wikipedia.org/wiki/Fold_%28higher-order_function%29
What about simple merging or
some of the math functions work on arrays, for example add, but that adds one
number to each of the elements, i assume not what you want. there's also
intersect and split, allowing some fancy shenanigans with arrays. Another one
is sum(arrayGoesHere) which seems to be what you'd want? No idea, m
Whoops maybe I misunderstood you.
Bob
On Feb 18, 2011, at 10:34 AM, Nonsanity wrote:
> I thought I remembered that LiveCode has a fold operator of some sort on
> arrays, but I can't seem to find it. Was I mistaken?
>
> http://en.wikipedia.org/wiki/Fold_%28higher-order_function%29
>
> What abou
wrap. I found it under Operator on the left pane of the Livecode Help.
Bob
On Feb 18, 2011, at 10:34 AM, Nonsanity wrote:
> I thought I remembered that LiveCode has a fold operator of some sort on
> arrays, but I can't seem to find it. Was I mistaken?
>
> http://en.wikipedia.org/wiki/Fold_%28
I thought I remembered that LiveCode has a fold operator of some sort on
arrays, but I can't seem to find it. Was I mistaken?
http://en.wikipedia.org/wiki/Fold_%28higher-order_function%29
What about simple merging or appending of one array to another? (Aside from
the obvious, and possibly slower,