A.10 Value Label Records
Value label records have tag code ‘D’. They have the following
- Variable count (integer).
- List of variables (strings). The variable count specifies the number in
the list. Variables are specified by their names. All variables must
be of the same type (numeric or string), but string variables do not
necessarily have the same width.
- Label count (integer).
- List of (value, label) tuples. The label count specifies the number of
tuples. Each tuple consists of a value, which is numeric or string as
appropriate to the variables, followed by a label (string).
A few portable files that specify duplicate value labels, that is, two
different labels for a single value of a single variable, have been
spotted in the wild. PSPP uses the last value label specified in