length The length of the array Methods Reference Conversion Methods Siebel

Length the length of the array methods reference

This preview shows page 156 - 159 out of 334 pages.

length The length of the array.
Image of page 156
Methods Reference Conversion Methods Siebel eScript Language Reference Version 8.1, Rev. A 157 Undefine Method The Undefine method undefines a variable, object property, or value. Assume Siebel CRM defines a value and then a defined method returns true for this value. If you use the Undefine method with this value, then the Is Defined method returns false. Undefining a value is not the same as setting a value to null. The following example sets the n variable to 2, and then undefines the n variable: var n = 2; undefine(n); This method is unique to Siebel eScript. For more information, see “Make Sure the JavaScript Interpreter Can Run a Function” on page 59 . Format undefine( value ) Table 85 describes the arguments for the Undefine method. Example The following example creates an object named o and then defines an o.one property. It then undefines this property but the o object remains defined: var o = new Object; o.one = 1; undefine(o.one); Conversion Methods This topic describes conversion methods. It includes the following topics: “Overview of Conversion Methods” on page 158 “Convert String to Floating-Point Number Method” on page 158 “Convert String to Integer Method” on page 159 “Convert Number to Exponential Notation Method” on page 160 “Convert Number to Fixed Decimal Method” on page 162 “Convert Number to Precision Method” on page 162 “Convert Special Characters to URL Method” on page 163 “Convert Unicode to ASCII Method” on page 164 Table 85. Arguments for the Undefine Method Argument Description value The variable or object property that this method must undefine.
Image of page 157
Siebel eScript Language Reference Version 8.1, Rev. A Methods Reference Conversion Methods 158 “Convert Value to Boolean Method” on page 165 “Convert Value to Buffer Method” on page 166 “Convert Value to Bytes Method” on page 168 “Convert Value to Integer Method” on page 168 “Convert Value to Integer 32 Method” on page 169 “Convert Value to Unsigned Integer 16 Method” on page 170 “Convert Value to Unsigned Integer 32 Method” on page 171 “Convert Value to Number Method” on page 172 “Convert Value to Object Method” on page 173 “Convert Value to String Method” on page 174 “Evaluate Expression Method” on page 176 Overview of Conversion Methods You might encounter a situation where you must specify or control the types of variables or data. Some conversion methods include one argument that is a variable or data item that Siebel eScript converts to the data type that you specify in the name of the method. For example, the following code creates two variables: var aString = ToString(123); var aNumber = ToNumber("123"); In this example, Siebel eScript does the following work: To create the aString variable, it converts the number 123 to a string.
Image of page 158
Image of page 159

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

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask ( soon) You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors