Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel eScript Language Reference > Using Siebel eScript > Coding with Siebel eScript > Passing a Value to a FunctionThis topic describes how to write code that passes a value to a subroutine or a function through a variable or through a reference. Passing a Value Through a VariableSiebel eScript can pass a value to a function through a variable. This variable retains the value that it contained before Siebel eScript passes it even though the subroutine or function might modify the passed value. The following example includes this configuration: var VariableA = 5; The following occurs in this example:
Passing a Value Through a ReferenceSiebel eScript can pass a variable to a subroutine or a function through a reference. However, you use a variable to pass a value for most methods. Each method determines if it can receive a value from a variable or a reference. A subroutine or function can modify the value. The following example includes this configuration: var VariableA = new Object; The following occurs in this example:
|
![]() ![]() |
Siebel eScript Language Reference | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |