eval

Evaluates a JScript expression.

<eval
    code="expression" />
Attributes

code

A string of valid JScript code. For example, "foo()" evaluates the global function foo.

Remarks

Use the Script element to make custom JScript available for use with the eval statement.

If the eval statement is a task rule, the expression is evaluated when the rule is processed as part of an event. Using eval in this context allows:

Element Information
ParentsAs an action or condition: activate-event, update-event, if, and, or, not, then, else For evaluation as the wizard loads: body, group
ChildrenNone
End TagNo - close element with "/>"
Return ValueReturn value of the expression or null.

Release 18.2 - © ANSYS, Inc. All rights reserved.