Table 91 Arguments for the Convert Value to Boolean Method Argument Description

Table 91 arguments for the convert value to boolean

This preview shows page 165 - 168 out of 334 pages.

Table 91. Arguments for the Convert Value to Boolean Method Argument Description value The value that this method converts to a Boolean value. Table 92. Values That the Convert Value to Boolean Method Returns Data Type Return Value Boolean Value that the value argument contains. buffer This method returns one of the following values depending on if the buffer is empty: Buffer is empty. It returns false. Buffer is not empty. It returns true. null False
Image of page 165
Siebel eScript Language Reference Version 8.1, Rev. A Methods Reference Conversion Methods 166 Convert Value to Buffer Method The Convert Value to Buffer method converts the value that the value argument contains to a sequence of ASCII bytes. It then places this value in a buffer. These bytes depend on the data type of the value that the value argument contains. This method is unique to Siebel eScript. For more information, see “Make Sure the JavaScript Interpreter Can Run a Function” on page 59 . Format ToBuffer( value ) Table 93 describes the arguments for the Convert Value to Buffer method. number This method returns one of the following values: If the value that the value argument contains is one of the following, then it returns false: 0 +0 -0 NaN If the value that the value argument contains is not 0, +0, -0, or NaN, then it returns false. For more information, see “NaN Numbers” on page 29 . object True string This method returns one of the following values depending on if the string is empty: The string is empty. It returns false. The string is not empty. It returns true. undefined False Table 93. Arguments for the Convert Value to Buffer Method Argument Description value The value that this method saves to a buffer. Table 92. Values That the Convert Value to Boolean Method Returns Data Type Return Value
Image of page 166
Methods Reference Conversion Methods Siebel eScript Language Reference Version 8.1, Rev. A 167 Values That the Convert Value to Buffer Method Returns Table 94 describes the values that the Convert Value to Buffer method returns. Table 94. Values That the Convert Value to Buffer Method Returns Data Type Return Value Boolean This method returns one of the following values: If the value that the value argument contains is false, then it returns the following value: false If the value that the value argument contains is not false, then it returns the following value: true null This returns the following string: null number This method returns a value depending on which of the following values the value argument contains: NaN. It returns the following value: NaN +0 or -0. It returns the following value: 0 POSITIVE_INFINITY or NEGATIVE_INFINITY. It returns the following value: Infinity A number. It returns a string that includes this number. For more information on the number object, see “NaN Numbers” on page 29 .
Image of page 167
Image of page 168

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