$setVariable

Creates the named variable on the current branch and assigns the given value to it.
Syntax
    $setVariable{var_name}{var_value}
DocumentationCreates the named variable on the current branch and assigns the given value to it:

    Parameter:
      var_name, the name of the variable to be created.
      var_value, the value of the variable to be created.
Examples
    $setVariable{x}{12000}
    $getVariable{x}

    Result:
    sets variabe "x" to the value "12000", returns variable "x":
    12000
GroupBranch
Minimum required transaction-mode:UPDATE=TREE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters2
Maximum parameters 2