Loop into array
I have this simple code
|
Source code
|
1
2
3
4
5
6
|
set(item[0].value,2);
set(item[1].value,3);
set(item[2].value,4);
for(set(i,0), i LT item.count, inc(i),
trace('i=',get(item[i].value))
);
|
But the code not work because output
i=null
What is wrong?
Thanks
This post has been edited 1 times, last edit by "abmcr" (Jan 28th 2014, 7:16am)