5.1.2 Multi-string Values

A variable can be set to multiple strings. A compound value is usually used when you want to use dictionary entries as part of a variable later on.

Multi-string variable values are set like string values except there are more than one. For example

set NAME "this" "-mode"

These two strings will be concatenated together.

A more useful thing is to include dictionary variables and concatenate those into the string. Use the “macro” keyword to include the name of a variable. This is like macros in a template. For example:

set NAME macro "MODE" "-mode"

will extract the value of the dictionary variable MODE and append “-mode” to the end.