I have a spread of 10 slices, the values within the spread changes while running the program, help me compile all

i have a spread of 10 slices, and the values inside each slice change randomly while running the program, the data gets replaced with new data within the 10 slices , how do I add up all the distinct slices and make a list,help me compile them all

thank you

Just to be on the same page a spread is essentially a list and each item in the list is called a slice. If you want sum these items, you can use Sum Node to do it. This answers your “how do I add up all the distinct slices” question.

What I didn’t understand is “and make a list” part. Once you get a sum, let’s say an Integer32, that’s a singular thing that you got. You can pass this to a Repeat and use index in it to create a new slice of that length (or to simplify things, you can use a node called I). But I don’t think that’s actually what you want. Can you describe further what your ask is?

@incomastate Could you maybe share the current state of your patch, explain where you’re stuck and describe precisely the result you’re expecting?

I’m afraid I can’t understand what you’re after by reading your post.