VARIABLE action sets variable value.
To use variable in expression add # to its name (i.e. if the name of variable - var_name, the #var_name should be used as variable value). See also Using expressions in actions.
To change the variable value use the same VARIABLE action.