how to use zl group with zl iter?

newtfish's icon

Hi,

Im trying to use zl group on a zl iter object. However, im wondering how to send a bang to the zl group, once the zl iter has finished iterating?

Cheers

N

newtfish's icon

Unfortunately, this example doesnt work for me, because I dont know how long the list will be, and also dont know how many iterations there will be. Is there another way to achieve the same thing without zl group?

newtfish's icon

is this a good way of doing it? The problem I can foresee is that I have a lot of data, it might take longer than 200ms to get to the zl group and then the list wont output fully

Max Patch
Copy patch and select New From Clipboard in Max.

Id really appreciate it if someone more experienced than me could chime in. Ive been pulling my hair out all day with this one and it seems to be fairly simple what im trying to do...

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

hi Broc, thanks for the suggestion. Although, im trying to find when the last iteration occurs so that I can bang the zl group and clear it. Im not sure delace really functions like this.

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

Not sure if this is what you mean:

Richard Garrett's icon

Hi,

Max Patch
Copy patch and select New From Clipboard in Max.

I'm not sure if this is what you want but another approach would be to add a terminator (I've used -1). This compensates for [zl]'s inability to tell you about empty lists. The routine reads the list until it gets to the terminator and then sends a bang to [zl group].

Richard