List-related query

robin's icon

Hi all,

Is there an object that stores values and allows you to output x number of them as a list? Sort of like [zl group] but with a memory I guess.

Thanks,

Robin

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

[zl stream] ? or [zl slice] ?

robin's icon

Sort of, except not requiring a list as input, rather a stream of integers.

Thanks though

Emmanuel Jourdan's icon

as ch mentioned, have a look at zl stream.

robin's icon

The only issue is I need to be able to specify the list length afterwards - rather than waiting for n items, i want to be able to say "fetch me the last n items" at any point. I didn't think zl.stream did that, but I am very likely to be wrong!