Assigns a value (or the result of an expression) to a variable.
Action ID: 14
Action Category: Variables
The name of the variable to store the result in. If the variable does not already exist, it will be created automatically.
(More info: If you provide the name of an existing variable, the result will overwrite that variable's contents. If you provide a new variable name, a new variable will be created automatically. The action's result will be stored in the variable you provide, regardless of whether the variable already exists. In other words, you can create a new variable "on the fly" by simply providing a variable name that isn't already being used in your project.)
The value to assign to the variable.
If checked, the text in Value will be interpreted as an expression at run time, and the result of this expression will be stored in the variable.
See the User's Guide for details on expression usage and syntax.
Opens the Build Expression dialog which provides a useful interface to help you build the expression.
NOTE |
|
|
|
|
The Build button is only visible if the Evaluate value as expression checkbox is checked. |
SEE ALSO |
|
|
|
? |
For more information on expressions, see Chapter 2: Key Concepts and Chapter 15: Expressions in the User's Guide. |
Value |
Simple Message |
Verbose Message |
0 (OK) |
|
|
1 |
Error evaluating expression. |
Missing value. A value was expected at position <<Start
position of error>>. |
2 |
Error evaluating expression. |
Missing operator before open parenthesis. There is an operator
missing before the open parenthesis at position <<Start
position of error>>. |
None available.
See Also: Alphabetical List of Actions, Categorical List of Actions, On Error tab