Creating a Typeless Variable

This topic describes how to create a typeless variable.

To create a typeless variable

  • Do not specify the data type when you declare the variable.

    For example:

    var VariableA = 0;
    var VariableB = new Date ();
    var VariableC = new BusObject;
    

    In this example, Siebel eScript sets the following types:

    • Sets VariableA as an integer

    • Sets VariableB as a date

    • Types VariableC as a business object

    The data type that Siebel CRM sets at run time persists until a subsequent operation causes the interpreter to modify the type again.