Variable references allow you to inline the value of a variable into a command. So, given the variable:
zone.variable1=Hello
The command:
message: $zone.variable1 Dave
Would produce the text “Hello Dave”
in the system log 1).
Note that the reference:
$
Another thing to consider: references will only be interpolated up to the first occurrence of ::
, which is the delimiter used for commands that are parameters of other commands - so these parameter commands will be passed with references intact.
Variable references are interpolated before anything else is done with the command (including dynamic object interpolation. References that can't be resolved (e.g. the variable doesn't exist) are left as they are.