Siebel eScript Language Reference

What's New in This Release

Back to top

Siebel eScript Language Overview

Siebel eScript Programming Guidelines

Siebel eScript Concepts

Case Sensitivity in Siebel eScript

White-Space Characters in Siebel eScript

Special Characters in Siebel eScript

Comments in Siebel eScript

Expressions, Statements, and Blocks in Siebel eScript

Identifiers in Siebel eScript

Variables in Siebel eScript

Data Types in Siebel eScript

Primitive Data Types in Siebel eScript

Composite Data Types in Siebel eScript

Special Data Types in Siebel eScript

Number Constants in Siebel eScript

Automatic Type Conversion in Siebel eScript

Properties and Methods of Basic Data Types in Siebel eScript

Expressions in Siebel eScript

Operators in Siebel eScript

Mathematical Operators in Siebel eScript

Bit Operators in Siebel eScript

Logical Operators and Conditional Expressions in Siebel eScript

Typeof Operator in Siebel eScript

Conditional Operator in Siebel eScript

String Concatenation Operator in Siebel eScript

Functions in Siebel eScript

Function Scope in Siebel eScript

Passing Variables to Functions in Siebel eScript

The Function Arguments[] Property in Siebel eScript

Function Recursion in Siebel eScript

Error Checking for Functions in Siebel eScript

Siebel eScript Statements

break Statement

continue Statement

do...while Statement

for Statement Statement

goto Statement

if Statement

switch Statement

throw Statement

try Statement

while Statement

with Statement

Back to top

Quick Reference: Methods and Properties in Siebel eScript

Array Methods in Siebel eScript

Buffer Methods in Siebel eScript

Character Classification Methods in Siebel eScript

Conversion or Casting Methods in Siebel eScript

Data Handling Methods in Siebel eScript

Date and Time methods in Siebel eScript

Disk and File methods in Siebel eScript

Siebel eScript Disk and Directory Methods

Siebel eScript File Control methods

Siebel eScript File-Manipulation Methods

Error Handling Methods in Siebel eScript

Math Methods in Siebel eScript

Numeric Methods in Siebel eScript

Trigonometric Methods in Siebel eScript

Math Properties in Siebel eScript

Operating System Interaction Methods in Siebel eScript

String and Byte-Array Methods in Siebel eScript

Uncategorized Methods in Siebel eScript

Back to top

Siebel eScript Commands

Applet Objects

The Application Object

Array Objects

The Array Constructor in Siebel eScript

Associative Arrays in Siebel eScript

join() Method

length Property

reverse() Method

sort() Method

BLOB Objects

The blobDescriptor Object

Blob.get() Method

Blob.put() Method

Blob.size() Method

Buffer Objects in Siebel eScript

The Buffer Constructor in Siebel eScript

Buffer Object Methods

getString() Method

getValue() Method

offset[] Method

putString() Method

putValue() Method

subBuffer() Method

toString() Method

Buffer Object Properties

bigEndian Property

cursor Property

data Property

size Property

unicode Property

Business Component Objects

Business Object Objects

Business Service Objects

The Clib Object

The Clib Object Buffer Methods in Siebel eScript

Clib.memchr() Method

Clib.memcmp() Method

Clib.memcpy() Method and Clib.memmove() Method

Clib.memset() Method

The Clib Object Character Classification in Siebel eScript

Clib.isalnum() Method

Clib.isalpha() Method

Clib.isascii() Method

Clib.iscntrl() Method

Clib.isdigit() Method

Clib.isgraph() Method

Clib.islower() Method

Clib.isprint() Method

Clib.ispunct() Method

Clib.isspace() Method

Clib.isupper() Method

Clib.isxdigit() Method

Clib.toascii() Method

The Clib Object Error Methods

Clib.errno Property

Clib.perror() Method

Clib.strerror() Method

File I/O Methods in eScript

Clib.chdir() Method

Clib.clearerr() Method

Clib.getcwd() Method

Clib.fclose() Method

Clib.feof() Method

Clib.ferror() Method

Clib.fflush() Method

Clib.fgetc() Method and Clib.getc() Method

Clib.fgetpos() Method

Clib.fgets() Method

Clib.flock() Method

Clib.fopen() Method

Clib.fprintf() Method

Clib.fputc() Method and Clib.putc() Method

Clib.fputs() Method

Clib.fread() Method

Clib.freopen() Method

Clib.fscanf() Method

Clib.fseek() Method

Clib.fsetpos() Method

Clib.ftell() Method

Clib.fwrite() Method

Clib.mkdir() Method

Clib.remove() Method

Clib.rename() Method

Clib.rewind() Method

Clib.rmdir() Method

Clib.sscanf() Method

Clib.tmpfile() Method

Clib.tmpnam() Method


Formatting Data in eScript

The Clib Object Math Methods

Clib.cosh() Method

Clib.div() Method and Clib.ldiv() Method

Clib.frexp() Method

Clib.ldexp() Method

Clib.modf() Method

Clib.rand() Method

Clib.sinh() Method

Clib.srand() Method

Clib.tanh() Method

quot Method

rem Method

Redundant Functions in the Clib Object

The Clib Object String Methods

Clib.rsprintf() Method

Clib.sprintf() Method

Clib.strchr() Method

Clib.strcspn() Method

Clib.stricmp() Method and Clib.strcmpi() Method

Clib.strlwr() Method

Clib.strncat() Method

Clib.strncmp() Method

Clib.strncmpi() Method and Clib.strnicmp() Method

Clib.strncpy() Method

Clib.strpbrk() Method

Clib.strrchr() Method

Clib.strspn() Method

Clib.strstr() Method

Clib.strstri() Method

The Time Object

The Clib Object Time Methods

Clib.asctime() Method

Clib.clock() Method

Clib.ctime() Method

Clib.difftime() Method

Clib.gmtime() Method

Clib.localtime() Method

Clib.mktime() Method

Clib.strftime() Method

Clib.time() Method

The Clib Object Uncategorized Methods

Clib.bsearch() Method

Clib.getenv() Method

Clib.putenv() Method

Clib.qsort() Method

Clib.system() Method

The Date Object

The Date Constructor in Siebel eScript

Date and Time Methods

Date.fromSystem() Static Method

Date.parse() Static Method

Date.toSystem() Method

getDate() Method

getDay() Method

getFullYear() Method

getHours() Method

getMilliseconds() Method

getMinutes() Method

getMonth() Method

getSeconds() Method

getTime() Method

getTimezoneOffset() Method

getYear() Method

setDate() Method

setFullYear() Method

setHours() Method

setMilliseconds() Method

setMinutes() Method

setMonth() Method

setSeconds() Method

setTime() Method

setYear() Method

toGMTString() Method

toLocaleString() Method and toString() Method

Universal Time Methods

Date.UTC() Static Method

getUTCDate() Method

getUTCDay() Method

getUTCFullYear() Method

getUTCHours() Method

getUTCMilliseconds() Method

getUTCMinutes() Method

getUTCMonth() Method

getUTCSeconds() Method

setUTCDate() Method

setUTCFullYear() Method

setUTCHours() Method

setUTCMilliseconds() Method

setUTCMinutes() Method

setUTCMonth() Method

setUTCSeconds() Method

toUTCString() Method

The Exception Object

Function Objects

The Global Object

Global Functions Unique to Siebel eScript

Conversion or Casting Methods

COMCreateObject() Method

CORBACreateObject() Method

defined() Method

escape() Method

eval() Method

getArrayLength() Method

isNaN() Method

isFinite() Method

parseFloat() Method

parseInt() Method

setArrayLength() Method

ToBoolean() Method

ToBuffer() Method

ToBytes() Method

ToInt32() Method

ToInteger() Method

ToNumber() Method

ToObject() Method

ToString() Method

ToUint16() Method

ToUint32() Method

undefine() Method

unescape(string) Method

The Math Object

Math.abs() Method

Math.acos() Method

Math.asin() Method

Math.atan() Method

Math.atan2() Method

Math.ceil() Method

Math.cos() Method

Math.exp() Method

Math.floor() Method

Math.log() Method

Math.max() Method

Math.min() Method

Math.pow() Method

Math.random() Method

Math.round() Method

Math.sin() Method

Math.sqrt() Method

Math.tan() Method

Math.E Property

Math.LN10 Property

Math.LN2 Property

Math.LOG10E Property

Math.LOG2E Property

Math.PI Property

Math.SQRT1_2 Property

Math.SQRT2 Property

User-Defined Objects in Siebel eScript

Predefining Objects with Constructor Functions in Siebel eScript

Assigning Functions to Objects in Siebel eScript

Object Prototypes in Siebel eScript

Property Set Objects

The SElib Object

String Objects

The String as Data Type in Siebel eScript

Escape Sequences for Characters in Siebel eScript

Single Quote Strings in Siebel eScript

Back-Quote Strings in Siebel eScript

The String as Object in Siebel eScript

charAt() Method

String.fromCharCode() Static Method

indexOf() Method

lastIndexOf() Method

length Property

split() Method

string.replace() Method

substring() Method

toLowerCase() Method

toUpperCase() Method

Back to top

Siebel eScript Language Reference