Format Related Topics For more information see

Format related topics for more information see

This preview shows page 290 - 293 out of 334 pages.

Format Clib.strerror(ToNumber(Clib.errno) Related Topics For more information, see “Clib Error Number Property” on page 291 . Clib Save Error Message In String Method The Clib Save Error Message In String method is identical to the Clib Get Error Message except if you specify the errmsg argument, then the Save Error Message In String method saves the error message in this argument as a string. Format Clib.perror([ errmsg ]) Table 186 describes the arguments for the Save Error Message In String method. Table 186. Arguments for the Save Error Message In String Method Argument Description errmsg An argument that contains the message that describes the error.
Image of page 290
C Language Library Reference Other Clib Methods Siebel eScript Language Reference Version 8.1, Rev. A 291 Clib Error Number Property The Clib Error Number property stores an error number if a method fails to run correctly. Many methods in the Clib and Siebel library objects set errno to a nonzero value when an error occurs. Siebel eScript implements errno as a macro to the internal function errno. For more information, see “Siebel Library Methods” on page 204 . Format Clib.errno Usage To return the error number stored in the Clib.errno property, you use the following ToNumber conversion method: ToNumber(Clib.errno) For more information, see “Convert Value to Number Method” on page 172 . NOTE: You cannot use Siebel eScript code to modify the errno property. It is available only for read- only access. You can configure Siebel CRM to reference the error message that is associated with a Clib error number. For more information, see “Clib Get Error Message Method” on page 290 . Other Clib Methods This topic describes other Clib methods. It includes the following topics: “Clib Convert Character to ASCII Method” “Clib Modify Environment Variable Method” “Clib Get Environment Variable Method” “Clib Send Command Method” “Clib Search Array Method” “Clib Sort Array Method” Clib Convert Character to ASCII Method The Clib Convert Character to ASCII method clears every bit of the value that the char argument contains except for the seven least significant bits. The result is a seven-bit C representation of the character. It returns this value as a seven-bit ASCII representation. If the value you specify in the char argument is already a seven-bit ASCII character, then it does not clear any bits and returns the character.
Image of page 291
Siebel eScript Language Reference Version 8.1, Rev. A C Language Library Reference Other Clib Methods 292 Format Clib.toascii( char ) The arguments for this method are the same as the arguments for the Clib Is Alphabetic method. For more information, see Table 183 on page 285 . Example The following example returns the close parenthesis character: TheApplication().RaiseErrorText(Clib.toascii("©")); Related Topics For more information, see “Clib Is ASCII Method” on page 285 .
Image of page 292
Image of page 293

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