Array Data Type
An array is a series of data that Siebel eScript stores in a variable. Each datum is associated with an index number or string. The following example illustrates how Siebel eScript stores data in an array:
var Test = new Array;
Test[0] = "one";
Test[1] = "two";
Test[2] = "three";
In this example, the Test variable is an array that includes three strings. You can write code that uses an array variable as one unit. To reference a string individually, you can append the bracketed index of the element after the array name.
To reference a property:
An array uses an index.
An object uses a property name or a method name.
For more information, see Array Methods.