Skip to content
Become a partner
Documentation · Variables

Set

Gives a value to a run variable and returns it. Set("name", Do(…)) with @name elsewhere in the script defines a block: it does not run where it is defined, @name runs it where it is written.

Syntax

Set(name, value)

Parameters

ParameterTypeDetails
nametextrequired
valueany valuerequired

Returns

any value

Example

Set("total", $quantity * $price)

In the same family