Hi to all
I'm trying to set two arrays, that they're going to be read next.
Code
for(set(i,0), i LT hotspot.count, inc(i),
add(risulta, hotspot[get(i)].ath, 10);
set(listR[get(i)],get(risulta));
set(listName[get(i)], get(hotspot[get(i)].name));
//to test trace the hotspot array and new array created -> ok
trace(hotspot[get(i)].name, " - ", listName[get(i)], " - ",listR[get(i)]);
);
but, trying to read the new array it's seem that the overall array is only the last one set eg:
Code
trace(listName[0])
trace(listName[1])
trace(listName[2])
...
trace(listName[N])
--> they're the same, ie the last value set
Perhaps I'm not able to manage properly the arrays...
Any kind of help...
Regards...
zeno