Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Commands > Conversion or Casting Methods > setArrayLength() MethodThis function sets the first index and length of an array. SyntaxsetArrayLength(array[, minIndex], length]) UsageThis function sets the length of array to a range bounded by minIndex and length. If three parameters are supplied, minIndex, which must be 0 or less, is the minimum index of the newly sized array, and length is the length. Any elements outside the bounds set by minIndex and length become undefined. If only two parameters are passed to setArrayLength(), the second parameter is length and the minimum index of the newly sized array is 0. CAUTION: The setArrayLength() function is unique to Siebel eScript. Avoid using it in a script that may be used with a JavaScript interpreter that does not support it. See Also |
Siebel eScript Language Reference |