... and here's the corresponding quote from manual :

quote:
By default, references to variables inside strings (e.g.: “String with a $Var in it.”) are also resolved before the string is displayed. The only exceptions to this rule are arrays and object references, which can not be used inside strings. To use arrays or object references in combination with strings, you have to use concatenation. Note that you can disable resolving of variables inside strings using the NoVarsInStrings option (see SetOption for full details).

--------------------------------------------------------------------------------

Note: The characters @, %, or $ are normally used to indicate macros, environment strings, or variables. If you want to use these characters in a string, use @@, %%, or $$.

--------------------------------------------------------------------------------

_________________________