Siebel eScript Language Reference > About Siebel eScript > About Data Types and Numbers >

About Primitive Data Types


A primitive data type is a type of data that Siebel eScript provides as a fundamental part of the code. It does not possess other properties or functions.

The bool, chars, and float data types must use lowercase.

Bool Data Type

The bool data type defines and manipulates a Boolean object. A Boolean value is true or false.

Chars Data Type

The chars data type defines and manipulates a string. A chars value is a sequence of alphanumeric characters. It can include any sequence of 16-bit, unsigned integers.

Float Data Type

The float data type defines and manipulates a floating point number.

Integer is not a Siebel eScript data type. You can write code that uses a float variable. Some code that expects an integer variable converts a float variable to an integer.

Undefined Data Type

If Siebel CRM saves nothing in a variable, then it is undefined. An undefined variable occupies space until Siebel CRM saves a value in it. When Siebel CRM saves a value in a variable, it modifies the type of the variable according to the value.

The following example determines if a variable is undefined:

var test;
if (typeof test == "undefined")
TheApplication().RaiseErrorText("test is undefined");

Siebel eScript Language Reference Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.