+ 1
loop + Array
Hi! I have this loop: for(i =1; i < 4; i++{ //I ask for this code } and in the end i want the Array from this loop: var Array = [ "1", "2", "3"]; (dont care if these are doubles or strings etc.) Thanks đ
2 Answers
+ 2
Hi,
so... what's is your problem?
0
Your for loop is missing the terminating parenthese. And if you are asking how to access an array you do it by Array[index] with index being the position in the array you want. (Remember in computers indexes are 0-based not 1-based.)