Siebel eScript Language Reference

What's New in This Release

Back to top

Siebel eScript Language Overview

About Siebel eScript

About the Siebel eScript Script Engines

Incompatibilities Between the ST eScript and the T eScript Engines

About the Fix and Go Feature

About Script Assist Repository Introspection

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

Performance Considerations in Using Object Data Types

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

Application Objects

Array Objects

Array Constructors 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

blobDescriptor Objects

Blob.get() Method

Blob.put() Method

Blob.size() Method

Buffer Objects in Siebel eScript

Buffer Constructors 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

About Script Libraries

Clib Objects

Clib Object Buffer Methods in Siebel eScript

Clib.memchr() Method

Clib.memcmp() Method

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

Clib.memset() Method

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

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

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

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

Time Objects

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

Clib Object Uncategorized Methods

Clib.bsearch() Method

Clib.getenv() Method

Clib.putenv() Method

Clib.qsort() Method

Clib.system() Method

Date Objects

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

Exception Objects

Function Objects

Global Objects

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

Math Objects

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

SElib Objects

String Objects

Escape Sequences for Characters in Siebel eScript

String Object Methods and Properties in Siebel eScript

Back to top

Compilation Error Messages in Siebel eScript

Conventions Used in This Appendix

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 Copyright © 2007, Oracle. All rights reserved.