Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Siebel eScript Language Overview > Functions in Siebel eScript > Function Scope in Siebel eScriptFunctions are global in scope and can be called from anywhere in a script within the object in which it has been declared. Think of functions as methods of the global object. A function may not be declared within another function so that its scope is merely within a certain function or section of a script. The following two code fragments perform the same function. The first calls a function, // fragment one In the fragment that defines and uses the function |
Siebel eScript Language Reference |