Format getArrayLength array minIndex Table 83 describes the arguments for the

Format getarraylength array minindex table 83

This preview shows page 155 - 157 out of 334 pages.

Format getArrayLength( array [, minIndex ]) Table 83 describes the arguments for the Get Array Length method. Related Topics For more information, see the following topics: “About Array Functions” on page 79 “Get Largest Array Index Method” on page 84 “Set Array Length Method” on page 155 Set Array Length Method The Set Array Length method sets the first index and length of an array. It sets the length of the array argument to a range that the minIndex argument and the length argument define. Table 83. Arguments for the Get Array Length Method Argument Description array The name of the array whose length this method must get. minIndex The index of the lowest element at which to start counting. The first element of an array is typically at index 0. If you specify the minIndex argument, then Siebel CRM uses it to set to the minimum index, which is zero or less.
Image of page 155
Siebel eScript Language Reference Version 8.1, Rev. A Methods Reference Global Methods 156 If you specify all three arguments for this method, then the following occurs: The minIndex argument is the minimum index of the resized array. The length argument is the length of the resized array. If an element resides outside the length of the resized array, then that element becomes undefined. If you only specify two arguments, then this method uses the second argument as the length argument and sets the minimum index of the resized array to 0 by default. This method is unique to Siebel eScript. For more information, see “Make Sure the JavaScript Interpreter Can Run a Function” on page 59 . Format setArrayLength( array [, minIndex ], length ]) Table 84 describes the arguments for the Set Array Length method. Use Caution If You Define an Array That Includes a Negative Index Use caution if you defined an array that includes a negative index. CAUTION: ST eScript code does not support a negative array index. If you define an array that includes a negative index, and if you use T eScript code to define this array in a Siebel application prior to release 7.8, then you must redefine the index range for this array and any references according to index values. As an alternative to using the Set Array Length method to set the array length, you can use the length property of the array object. Related Topics For more information, see the following topics “Get Array Length Method” on page 155 “Get Largest Array Index Method” on page 84 Table 84. Arguments for the Set Array Length Method Argument Description array The name of the array whose length this method must set. minIndex The index of the lowest element at which to start counting. This value must be 0 or less. NOTE: If you use ST eScript code, then it is not appropriate to use the minIndex argument. If you use ST eScript code, then this code restricts the minimum index to zero only and assigns it by default.
Image of page 156
Image of page 157

You've reached the end of your free preview.

Want to read all 334 pages?

  • Summer '16
  • Oracle
  • Type system, Siebel, Siebel eScript

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes