open gate, based on zl compare?

Sep 23, 2013 at 6:55am

open gate, based on zl compare?

Hi,

Im trying to iterate over some list with 3 elements, but I want to put a gate underneath and only open the gate when the 3rd element in the list = <empty>.

Any idea how to do this? I tried buddy/bondo but couldnt get them to work.

Heres a patch to explain.

<code>

– Pasted Max Patch, click to expand. –

</code>

#265996
Sep 23, 2013 at 7:34am

For some reason gswitch works, but both switch and gate will not work.

Heres an example:

<code>

– Pasted Max Patch, click to expand. –

</code>

#266002
Sep 23, 2013 at 7:44am

In your second example, the result is the opposite of what you explain you want ie only the lists which 3rd element is NOT are passed. This does what you explain in your first post :

<code>

– Pasted Max Patch, click to expand. –

</code>

This works just as well with gate :

<code>

– Pasted Max Patch, click to expand. –

</code>

#266008

You must be logged in to reply to this topic.