Twister
04-05-2004, 04:57 PM
Ok I need help. Something is so stupid here and I don't get it.
I want to add some values together and it's not working. I'm getting
001532423 but i want 20
This is my code
for (x=1; x<32; x++) {
cubeScore = eval("_root.cube"+x).score;
finalScore += cubeScore;
}
:confused:
I want to add some values together and it's not working. I'm getting
001532423 but i want 20
This is my code
for (x=1; x<32; x++) {
cubeScore = eval("_root.cube"+x).score;
finalScore += cubeScore;
}
:confused: