Is this a correct way of changing a variable's value?

YesNo

There we go!

It is a correct way of changing a variable's value.