Skip to main content
Store to a variable
Updated over a year ago

Core Purpose:

To copy the value of a variable or expression to another variable or expression.


​

How to Use:

  1. Enter the value of the variable or expression you want to copy in the Value to be stored field.

  2. Select the variable or expression you want to store the value to in the Store to field.

  3. Click the Store Variable button.

Example:

Suppose you have the following variables:

product = "Apple"

price = 100

You want to store the value of the product variable to the item variable.

item = store(product)

You can now access the value of the product variable through the item variable.`

Use Cases:

The store to variable feature can be used in a variety of situations, such as:

  • Caching the value of a variable so that it can be accessed later without having to recalculate it.

  • You can use the store to variable feature to store the value of any variable, including arrays, objects, and functions.

  • You can also use the store to variable feature to store the value of an expression, such as a mathematical equation or a logical expression.

Did this answer your question?