Array Creator

Multi-dimensional

These scripts create a multi-dimensional array by adding a new array (child) to each index of the parent array.

1) Enter the name of your array.

2) Enter the number of child indexes required, the appropriate number of text fields are then generated.

3) When you have entered your index values, (you can Tab to the next text field), press the "Enter Values" button and the array is created

Each press of the "Enter Values" button adds another index to the parent array.
Changing the number of "Index No.'s creates a child array of that length.




Array design

myArray = new Array()

myArray[0]=new Array("","","","")

myArray[1]=new Array("","","","")


Multi-dimensional




Array design

arrayName = [

["index 0 - 0"] , ["index 0 - 1"],
["index 1 - 0"] , ["index 1 - 1"] , ["index 1 - 2]

]