\index[general]{Expansion!Variable }
\addcontentsline{toc}{section}{Variable Expansion}
+Please note that as of version 1.37, the Variable Expansion
+is deprecated and replaced by Python scripting (not yet
+documented).
+
Variable expansion is somewhat similar to Unix shell variable expansion.
Currently (version 1.31), it is used only in format labels, but in the future,
it will most likely be used in more places.
controlled loop, support of arithmetic expressions in the loop start, step and
end conditions, and recursive expansion.
-When using varaiable expansion characters in a Volume Label Format record, the
-format should always be enclosed in double quotes ({\bf ``}).
+When using variable expansion characters in a Volume Label Format record, the
+format should always be enclosed in double quotes ({\bf "}).
For example, {\bf \$\{HOME\}} will be replaced by your home directory as
defined in the environment. If you have defined the variable {\bf xxx} to be
\item [Internal Variables]
\index[dir]{Internal Variables }
Internal variables are read-only, and may be related to the current job (i.e.
-Job name), or may be special variables such as the date and time. The
+Job name), or maybe special variables such as the date and time. The
following variables are available:
\begin{itemize}
array, where the elements of the array are referenced by subscripting the
variable name (e.g. {\bf \$\{Months[3]\}}). Environment variable arrays are
defined by separating the elements with a vertical bar ({\bf |}), thus {\bf
-set Months=''Jan|Feb|Mar|Apr|...``} defines an environment variable named
+set Months="Jan|Feb|Mar|Apr|..."} defines an environment variable named
{\bf Month} that will be treated as an array, and the reference {\bf
\$\{Months[3]\}} will yield {\bf Mar}. The elements of the array can have
differing lengths.