Sets the variable to specified value