Variables

Variables are used to store values.

A variable consists in:

Variable Reference

Variables can be referenced inside expansion text or command parameters using the following syntax:

$(name)

When an expansion is produced, a variable name reference is replaced by the corresponding variable value.

Example 1

I you have defined the following variable:

Variable name Variable value

city

New York

then the following expansion:

I live in $(city)!

will produce I live in New York!.

Example 2

I you have defined the following variable:

Variable name Variable value

editor

C:\WINDOWS\system32\notepad.exe

then the following expansion using the Launch command:

{Launch}
filename = "$(editor)"
{/Launch}

will launch Notepad.