a!localVariables( localVar1, localVarN, expression )
Lets you define one or more local variables for use within an expression. When used within an interface, the value of each variable can be refreshed under a variety of conditions, configured using a!refreshVariable(). When used outside of an interface, all refresh properties configured using a!refreshVariable() are ignored.
Keyword | Type | Description |
---|---|---|
|
Any Type |
|
|
Any Type |
Any additional local variables, as needed. |
|
Any Type |
The expression to evaluate using the local variables values. |
Any Type
For more information about how to use a!localVariables
and a!refreshVariable
, including detailed examples, see the Local Variables page.
This function replaces both the load
and with
functions. For information on how to update existing expressions that use load
and with
to use a!localVariables
instead, see the Updating Expressions to Use a!localVariables.
a!localVariables() Function