For loops in imperative mode not working in dynamo 2.0.0 as they used to work in dynamo 1.3.3

res = [];
	for (i in 0 .. 10 .. 1)
		res[i] = i;
output = res;

It used to generate a list… now it only creates a empty list. Why is that?

Preformatted text

Because you aren’t returning anything


Thank you!
I think there were a small change in the syntax of the for loops from dynamo 1.3.3 to 2.0.0

Could you please elaborate on what was the change from 1.3.3 to 2.X.
Is there any chance you could tell me why this function returns me an empty List?