Bookshelf Home | Contents | Index | PDF |
Siebel eScript Language Reference > Methods Reference > Conversion Methods > Evaluate Expression MethodThe Evaluate Expression method evaluates the value that the expression argument contains. It returns the value that it evaluates in the expression argument. If the expression argument is a string, then this method attempts to interpret the string as if it is JavaScript code. If this method:
If the expression is not a string, then this method returns the value that exists in the expression argument. For example, calling eval(5) returns the value 5. FormatTable 100 describes the arguments for the Evaluate Expression method. ExampleThe following example describes the result of using the Evaluate Expression method on different types of expressions. This method does the following work:
This example includes the following code: function clickme_Click () for (var i = 0; i < 5; i++) |
Siebel eScript Language Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |