Caret symbol Using Siebel eScript Guidelines for Using Siebel eScript Siebel

Caret symbol using siebel escript guidelines for

This preview shows page 54 - 58 out of 334 pages.

^ Caret symbol.
Image of page 54
Using Siebel eScript Guidelines for Using Siebel eScript Siebel eScript Language Reference Version 8.1, Rev. A 55 Reserved Words The following words have special meaning in Siebel eScript. You cannot use any of these words as a variable name or a function name: ~ Tilde symbol. ? Question mark. : Colon. { Open curly bracket. } Close curly bracket. ; Semi-colon. ( Open parenthesis. ) Close parenthesis. [ Open square bracket. ] Close square bracket. . Period. Single quote. " Double quote. ' Apostrophe. # Pound symbol. break export super case extends switch catch false this class finally throw const for true continue function try debugger if typeof default import while delete in with do new var else null void enum return Table 15. Special Characters Special Character Description
Image of page 55
Siebel eScript Language Reference Version 8.1, Rev. A Using Siebel eScript Guidelines for Using Siebel eScript 56 Make Sure You Use the Correct Case Siebel eScript is case-sensitive. For example, the testvar variable is different from the TestVar variable. Each of these variables can exist in a script at the same time. The following example defines two different variables: var testvar = 5; var TestVar = "five"; The name of a method or function in Siebel eScript is case-sensitive. For example, the following code creates an error on the Siebel Server: TheApplication().RaiseErrorText("an error has occurred"); The following example creates an error in a Siebel application: TheApplication().raiseerrortext("an error has occurred"); A control statement is case-sensitive. For example, the following statement is valid: while The following statement is not valid: While Use Expressions, Statements, and Statement Blocks An expression includes two or more terms that perform a mathematical or logical operation. These terms are typically variables or functions that you can use with an operator to produce a string or numeric result. To configure Siebel eScript to do the following work, you can use an expression: Perform a calculation. Manipulate a variable. Concatenate a string. The following example statement includes an expression. It computes a sum and saves it in a variable: var TestSum = 4 + 3 Siebel CRM runs Siebel eScript code one statement at a time from the beginning of the code to end of the code. You can use a semicolon at the end of a statement, although Siebel eScript does not require this format. To make your script easier to read and edit, it is recommended that you write each statement on a separate line, with or without a semicolon. A statement block is a group of statements that Siebel eScript treats as one statement. To enclose a statement block, you use curly brackets ({}). To simplify reading, it is recommended that you indent the statements in a statement block.
Image of page 56
Using Siebel eScript Guidelines for Using Siebel eScript Siebel eScript Language Reference Version 8.1, Rev. A 57 Running Statements In a Loop A While statement is a type of statement that causes Siebel eScript to run the statement that occurs immediately after the While statement in a loop. If you enclose multiple statements in curly brackets,
Image of page 57
Image of page 58

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