For example when comparing Siebel eScript to the atol Clib method if the

For example when comparing siebel escript to the atol

This preview shows page 219 - 221 out of 334 pages.

implicitly performs a conversion. For example, when comparing Siebel eScript to the atol Clib method, if the variable that will hold the converted string is of type Number, then Siebel eScript implicitly converts the string from a string to a long integer. Clib File and Directory Methods This topic describes Clib methods to create, open, lock, close, and delete files. It also describes methods to manipulate directories. It includes the following topics: “Overview of Clib File and Directory Methods” on page 220 “Clib Close File Method” on page 220 “Clib Create Temporary File Method” on page 221 “Clib Create Temporary File Name Method” on page 221 “Clib Delete File Method” on page 222 “Clib Lock File Method” on page 222 “Clib Open File Method” on page 224 “Clib Rename File Method” on page 227 “Clib Reopen File Method” on page 227 “Clib Change Directory Method” on page 228 “Clib Create Directory Method” on page 230 “Clib Get Current Working Directory Method” on page 230 “Clib Remove Directory Method” on page 231 = operator strcpy Copies a string. Get String Length Method strlen Gets the length of a string. Change String to Lowercase Method strlwr Converts a string to lowercase. Automatic conversion strtod Converts a string to decimal. Automatic conversion strtol Converts a string to long. Change String to Uppercase Method strupr Converts a string to uppercase. Get Tangent Method tan Calculates the tangent. string .toLowerCase tolower Converts a character to lowercase. string .toUpperCase toupper Converts a character to uppercase. Table 123. Siebel eScript You Can Use Instead of Clib Methods Siebel eScript Method Clib Method Description
Image of page 219
Siebel eScript Language Reference Version 8.1, Rev. A C Language Library Reference Clib File and Directory Methods 220 Overview of Clib File and Directory Methods Siebel eScript can interpret a backslash (\) as a character combination. If you create a Windows path name, then you must include two backslashes to prevent this interpretation. For example: To change the working directory to C:\Applications\Myfolder , you use the following command: Clib.chdir(“C:\\Applications\\Myfolder”); To use a UNC path to access a computer on your network, use four backslashes (\\\\) before the computer name: Clib.system("copy \\\\server01\\share\\SR.txt D:\\SR.txt "); For general usage information that applies to these methods, see “Overview of Clib File Input and Output Methods” on page 233 . Clib Close File Method The Clib Close File method writes to disk the data that currently resides in the buffer for a file. It then closes this file. It returns one of the following values: If successful, then it returns the following value: Zero If not successful, then it returns the following value: EOF The file pointer ceases to be valid after this call. Format Clib.fclose( filePointer ) The arguments for this method are the same as the arguments for the Clib Clear Error method. For more information, see “Arguments for the Clib Clear Error Method” on page 289 .
Image of page 220
Image of page 221

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