Next: , Previous: RENAME VARIABLES, Up: Variable Attributes



8.11 VALUE LABELS

     VALUE LABELS
             /var_list value 'label' [value 'label']...

VALUE LABELS allows values of numeric and short string variables to be associated with labels. In this way, a short value can stand for a long value.

To set up value labels for a set of variables, specify the variable names after a slash (/), followed by a list of values and their associated labels, separated by spaces. Long string variables may not be specified.

Before VALUE LABELS is executed, any existing value labels are cleared from the variables specified. Use ADD VALUE LABELS (see ADD VALUE LABELS) to add value labels without clearing those already present.