I found examples of arrays in 2 dimensions but not more. Is this how you would write a 4 dimensional array? I undertand arrays in QuickBasic, but am having troubles with EFS.
PHP Code:
a = new Array(16)
b = new Array(8)
c = new Array(20)
d = new Array(5)
var lCount = 0;
function main() {
for (var iii = 0; iii < 16; iii++) {
a[iii] = new Array(4)
for (var jjj = 0; jjj < 16; jjj = jjj + 2) {
b[iii][jjj] = new Array(4)
for (var kkk = 50; kkk < 90; kkk = kkk + 2) {
c[iii][jjj][kkk] = new Array(4)
for (var lll = 1; lll < 6; lll++) {
d[iii][jjj][kkk][lll] = new Array(4)
lCount = lCount + 1;
d[iii][jjj][kkk][1] = lCount
d[iii][jjj][kkk][2] = close(0)
d[iii][jjj][kkk][3] = close(0) / lCount
d[iii][jjj][kkk][4] = close(-3) / lCount
d[iii][jjj][kkk][5] = close(0) / close(-3)
}
}
}
}
}
Comment