a way to strip 0 (or any specific) values away from array?
- x.iso
- Member
- Posts: 565
- Location: RU, Saint-Petersburg
- Contact:
a way to strip 0 (or any specific) values away from array?
Basically, if I have an array where only few indexes are active and have non-zero value, and I want to track only indexes with those active values, I have to remove 0 values and make array compact. But I can't come up with solution to that, for instance I could use Remove Duplicate module, which would get rid of 0 values, but it would also remove any matching values which can happen as well and I don't want that. Having logic ">" module can give me array of 'gates', but The 'Pass' module doesn't work with arrays and I can't find what else to use to filter out 0 values.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE
- nay-seven
- Site Admin
- Posts: 5684
- Location: rennes France
- Contact:
Array delete will do the job ?
- x.iso
- Member
- Posts: 565
- Location: RU, Saint-Petersburg
- Contact:
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE
- oli_lab
- Member
- Posts: 1286
- Location: Brittany, France
- Contact:
a size 0 array on the input ?
http://oli-lab.org
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
