Siebel eScript Language Reference > Siebel eScript Commands >

Global Objects

Global variables are members of the global object. To access global properties, you do not need to use an object name. For example, to access the isNaN() method, which tests to see whether a value is equal to the special value NaN, you can use either of the following syntax forms.

Syntax A


Syntax B




The method to be applied


The value to which the method is to be applied


Syntax A treats globalMethod as a function; Syntax B treats it as a method of the global object. You may not use Syntax A in a function that has a local variable with the same name as a global variable. In such a case, you must use the global keyword to reference the global variable.

See Also

Conversion Methods
Global Functions Unique to Siebel eScript

Siebel eScript Language Reference Copyright © 2007, Oracle. All rights reserved.