1) Give a description of the problem
I have a list variable and no matter what I put in it, it shows a length of either 0 or 1. 0 when empty, 1 when something is in it.
2) What is the expected behavior?
The size(), count() functions would give me how many items are in the list.
3) What is happening/not happening?
It shows a length of either 0 or 1. 0 when empty, 1 when something is in it. Below is how I am testing this.
Basically when I try to sum the array
The total is always the value of the first item.
Full piston, the log at the end is only there to debug this issue.