January 28, 2014 at 12:18 AM #1 I have this simple code Code 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 outputi=nullWhat is wrong?Thanks
January 28, 2014 at 8:31 AM #2 Maybe this should be with get(): Code for(set(i,0), i LT item.count, inc(i), trace('i=',get(item[get(i)].value)) );
January 28, 2014 at 12:39 PM #3 I think the problem is because item.count is already null...you should trace the value for item.count
January 28, 2014 at 8:17 PM #4 Quote from Alexey Tkachenko Maybe this should be with get(): Code for(set(i,0), i LT item.count, inc(i), trace('i=',get(item[get(i)].value)) ); thank youyour code work