storing a list

Kaspar's icon

Hi,

Is there an object that stores a list? I need to compare the new incoming list with the previously incoming list ... what is the best way to do this?

Thanks for your help,

K

xh9o's icon

[zl reg] stores.

but if you only compare than why not taking [zl compare]? it stores one list in the right inlet, and compares it to any list received in the left.

christripledot's icon

[zl reg]

Right inlet = store list
Left inlet = bang it out

Took me a while to find this one, too :)

christripledot's icon

Damn, 9 seconds too late!

andrea agostini's icon

Have a look to the zl object. It might appear intimidating at first, but does a lot of nice things with lists. [zl reg] and [zl compare] should do what you need.
best
aa

andrea agostini's icon
xh9o's icon

@chris

and i was typing only one handed!

christripledot's icon

You must've been doing something else with your other hand ;)

$Adam's icon

For more advanced list processing, I'd also recommend to have a look at the L-Objects:

I guess it hasn't been updated for a while, but they still do work ;-)

Kaspar's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Thanks for all the advice - here's how it also can be done: