syntax arrays are similar to Lingo-style linear lists in that each element
in an array is a single value. One of the main differences between
index into an array always starts with 0.
You can use either square brackets ([ ]) or the Array constructor
to create an array. The following two statements create an array
with two values:
var myArray = [10, 15]; // using square brackets
var myArray = new Array(10, 15); // using the Array constructor
You can also create empty arrays. The following two statements
create an empty array:
var myArray = ;
var myArray = new Array();
Note: The Director Scripting Reference does not include
complete information on using Array objects, see one of the many
third-party resources on the subject.