a!localVariables() Function

Function

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.

Parameters

Keyword Type Description

localVar1

Any Type

localVarN

Any Type

Any additional local variables, as needed.

expression

Any Type

The expression to evaluate using the local variables values.

Returns

Any Type

Usage considerations

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.

Open in Github Built: Fri, Sep 17, 2021 (04:02:57 PM)

On This Page

FEEDBACK