Menu

#32 myArray[value]++;

v0.3.1104
open
nobody
Quixie (74)
5
2012-09-17
2011-04-07
Anonymous
No

given myArray is a Numbers' array, the code below won't work.
~~~~~
Array:New myArray[1]:Number
function main() {
myArray[0] = 10;
Konsol:Log("myArray[0] " + myArray[0])
myArray[0]++;
Konsol:Log("myArray[0] " + myArray[0])
}

Discussion

Anonymous
Anonymous

Add attachments
Cancel