ExecuteExpression method (WinStudio scripts)
Applies to
IWSForm interface
Description
Executes an expression and returns the evaluated value of the expression
Syntax
object.ExecuteExpression( string )
Part | Description |
---|---|
object | Required. A reference to a valid form object. |
string | Required. Specifies the expression. |
Remarks
The return value is a string that contains the evaluated value of the expression.
Example
result = ThisForm.ExecuteExpression( “IF( V(VarTest) == 1,
STRINGS(sYes), STRINGS(sNo)” )