Siebel eScript Language Reference

What's New in This Release

Back to top

Siebel eScript Language Overview

Script Engine Alternatives for Siebel eScript

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

Object Data Types in Siebel eScript

Complex Objects in Siebel eScript

Numbers in Siebel eScript

Data Typing in Siebel eScript

Implicit Type Conversion in Siebel eScript

Properties and Methods of Common 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 and Properties in Siebel eScript

Buffer Methods and Properties in Siebel eScript

Character Classification Methods in Siebel eScript

Conversion Methods in Siebel eScript

Data Handling Methods in Siebel eScript

Date and Time Methods in Siebel eScript

Disk and File Methods in Siebel eScript

Disk and Directory Methods in Siebel eScript

File-Control Methods in Siebel eScript

File-Manipulation Methods in Siebel eScript

Error Handling Methods in Siebel eScript

Mathematical Methods and Properties in Siebel eScript

Numeric Methods in Siebel eScript

Trigonometric Methods in Siebel eScript

Mathematical Properties in Siebel eScript

Memory Manipulation Methods 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

Array join() Method

Array length Property

Array pop() Method

Array push() Method

Array reverse() Method

Array sort() Method

Array splice() 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

COMCreateObject() Method

getArrayLength() Method

setArrayLength() Method

undefine() Method

Conversion Methods

escape() Method

eval() Method

parseFloat() Method

parseInt() Method

ToBoolean() Method

ToBuffer() Method

ToBytes() Method

toExponential() Method

toFixed() Method

ToInt32() Method

ToInteger() Method

ToNumber() Method

ToObject() Method

toPrecision() Method

ToString() Method

ToUint16() Method

ToUint32() Method

unescape(string) Method

Data Handling Methods in Siebel eScript

defined() Method

isNaN() Method

isFinite() 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

RegExp Objects

RegExp Object Methods

RegExp Object Properties

The SElib Object

The String Object

Escape Sequences for Characters in Siebel eScript

String Object Methods and Properties in Siebel eScript

Back to top

Compilation Error Messages in Siebel eScript

Syntax Error Messages in eScript

Semantic Error Messages in eScript

Semantic Warnings in eScript

Preprocessing Error Messages in eScript

Back to top

Siebel eScript Language Reference