This is the old way of defining arrays and the only way allowed in Navigator 2: |
function MakeArray(size) { |
this.length = size; |
for( var i = 1; i <= size; i++ ) {
|
} |
} |
This gives arrays where you must predefine a size (a problem) and where arrays count from 1 not 0 (an artifact of MakeArray setting this.length = size at start not end of function). The latter "feature" could lead to great joy for Fortran programmers! |