You can perform operations on a variable selected in the Variables area by the standard action commands which are available in the Debug > Variables menu or from the contextual menu on the variables list itself. For more details about these commands, see Performing operations on selected objects.
Choose Debug > Variables > Set... to set the value of a variable selected in the Variables area. A dialog prompts you to enter a new value for the variable.