Using the value that the variable holds

A variable that belongs to a standard type (string, integer, double, boolean) can be used in much the same way as an immediate value of the same type (such as 'Elm Street', 10, 4.6e-2, true):
However, you cannot use a variable in certain contexts. In the Macro Editor, you cannot use a variable in the following contexts:
In the Code Editor, you cannot use a variable in the following contexts: