Siebel eScript Language Reference > Siebel eScript Language Overview >

Data Types in Siebel eScript


Data types in Siebel eScript can be classified into primitive data types and object data types. All primitive and object data types can be either:

  • Strongly typed. The data type is specified when the variable is declared.
  • Typeless. The data type is determined by the Siebel eScript interpreter at run time.

For further information on strongly typed and typeless variables, see Data Typing in Siebel eScript.

In a script, data can be represented by literals or variables. The following lines illustrate variables and literals:

var TestVar = 14;
var aString = "test string";

The variable TestVar is assigned the literal 14, and the variable aString is assigned the literal test string. After these assignments of literal values to variables, the variables can be used anywhere in a script where the literal values can be used.

Data types need to be understood in terms of their literal representations in a script and of their characteristics as variables. Data, in literal or variable form, is assigned to a variable with an assignment operator, which is often merely an equal sign, "=", as the following lines illustrate:

var happyVariable: = 7;
var happyToo = happyVariable;

The following topics provide information on the Siebel eScript data types:

Siebel eScript Language Reference Copyright © 2007, Oracle. All rights reserved.