Setslice with spread index

hey guys,
i try to learn vl and have a simple problem. I want to setslice a spread with an spreadable index. In v4 it works fine but if i try to make it in vl i dont get the same bin size at the output like the input. Maybe the foreach loop isnt the right way…?

use an accumulator instead of a splicer to hand the same spread from iteration to iteration. splicers make new spreads, but what you want is keeping the same spread and do a set slice. see also:
https://thegraybook.vvvv.org/reference/language/loops.html

ahh, ok thanks! It works, great.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.