From 4dc6293d51b59324286be41465587a72f133ea0b Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 13 Mar 2016 10:10:35 -0700 Subject: [PATCH] doc: Document that value labels are case sensitive. This was not documented and a user found it surprising. Also, long string variables can now be labeled. Reported by Robert Pittman. --- doc/variables.texi | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/variables.texi b/doc/variables.texi index 00a02be613..68a996681d 100644 --- a/doc/variables.texi +++ b/doc/variables.texi @@ -452,11 +452,16 @@ VALUE LABELS /@var{var_list} @var{value} '@var{label}' [@var{value} '@var{label}']@dots{} @end display -@cmd{VALUE LABELS} allows values of numeric and short string +@cmd{VALUE LABELS} allows values of variables to be associated with labels. In this way, a short value can -stand for a long value. +stand for a longer, more descriptive label. -To set up value labels for a set of variables, specify the +Both numeric and string variables can be given labels. For string +variables, the values are case-sensitive, so that, for example, a +capitalized value and its lowercase variant would have to be labeled +separately if both are present in the data. + +To set up value labels for one or more variables, specify the variable names after a slash (@samp{/}), followed by a list of values and their associated labels, separated by spaces. -- 2.30.2