Next: PRINT FORMATS, Previous: DELETE VARIABLES, Up: Manipulating Variables [Contents][Index]
In addition to a variable’s name, each variable can have a label. Whereas a variable name is a concise, easy-to-type mnemonic for the variable, a label may be longer and more descriptive.
VARIABLE LABELS variable ’label’ [variable ’label’]…
VARIABLE LABELS
associates explanatory names
with variables. This name, called a variable label, is displayed by
statistical procedures.
Specify each variable followed by its label as a quoted string. Variable-label pairs may be separated by an optional slash ‘/’.
If a listed variable already has a label, the new one replaces it. Specifying an empty string as the label, e.g.‘''’, removes a label.