Forum Discussion
2 Replies
Sort By
- karkadilValued Contributor
var arr = [["one", "two", "three"], ["four", "five", "six"]];
Log.Message(arr[0][1]); // prints "two"
Technically, it is not a 2-dimensional array, it is an array of arrays, but I think it shouldn't be a problem :) - lnd_amaralContributor
function createMatriz(x,y){
mt = new Array();
for(i=0; i<x; i++){
mt = new Array();
for(j=0; j<y; j++){
mt= null;
}
}
return mt;
}
Related Content
- 2 years agobknutson