Fold Operation on Arrays

Phil Davis revdev at pdslabs.net
Fri Feb 18 14:22:38 EST 2011


"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 appending of one array to another? (Aside from
> the obvious, and possibly slower, manual iteration method.)
>
>
>   ~ Chris Innanen
>   ~ Nonsanity
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

-- 
Phil Davis

PDS Labs
Professional Software Development
http://pdslabs.net





More information about the use-livecode mailing list