Feedback

  • Contents
 

Capitalization conventions

When writing scripts, comply with the following capitalization conventions:

  1. Use upper camel case for class names. Capitalize each word of a class name. Examples are CallObject, ChatObject, and QueueObject.

  2. Use lower camel case for method names and variables. In lower camel case, the first word is lower case and all subsequent words are capitalized. Examples are:

    CallObject.dial

    var objCall = Scripter.createCallObject();.

  3. Use lower case for attributes and properties. Examples are:

    callObject1.dial(remotenumber, false);

    IS_Action_Trace.message = "This is a test.";

    NOTE: When a script is executes, attribute names in IS_Actions are automatically converted to lower case. It is not necessary to update existing scripts to make those attributes lower case.