|Bookshelf Home | Contents | Index | PDF|
Data types in Siebel eScript can be classified into three groupings: primitive, composite, and special. In a script, data can be represented by literals or variables. The following lines illustrate variables and literals:
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.
The first time a variable is used, its type is determined by the Siebel eScript interpreter, and the type remains until a later assignment changes the type automatically. The preceding example creates three different types of variables. The first is a number, the second is a string, and the third is a Boolean variable.
Because Siebel eScript automatically converts variables from one type to another when needed, programmers normally do not have to worry about type conversions as they do in strongly typed languages, such as C.
|Siebel eScript Language Reference|