Expansion of Variables

One of the most powerful features of the CopiaFacts syntax is the ability to expand "variables", or "macros", to change the effects of commands and templates at run-time. Variables have alphanumeric names of maximum length 32 characters which are not case-sensitive. Spaces in variable names are supported but not recommended. The maximum length of the value of a variable is approximately 8000 characters.

Essential features of the uses of variables are described in the following sections

 Types of variable

 Setting Variable Values

 Using Variables

 Non-standard Variable Usages

 Recursive variable definition

 Precedence of variable expansion

 Grouped Variables

See also Appendix D, which documents all variable names known to the system.