Substitution variable record
Substitution variable recordThis is used in two ways. Internally, it represents one record in the substitution variable registry. Externally, i.e. within modules, it can be used to register new, local substitution variables. Most of the larger modules do this to provide extra flexibility for customisation. There are three fields here: varname is the string name of the variable (in upper case by convention); varcalc is the function executed to return the value of the variable; and next is only used internally to make a linked list of variables.