1 | This is the old way of defining arrays and the only way allowed in Navigator 2: |
2 | function MakeArray(size) { |
3 | this.length = size; |
4 |
for( var i = 1; i <= size; i++ ) {
|
5 | } |
6 | } |
7 | 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! |