doc: Document that value labels are case sensitive.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 13 Mar 2016 17:10:35 +0000 (10:10 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 13 Mar 2016 17:11:02 +0000 (10:11 -0700)
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

index 00a02be61341bb3047b4bf8431cff278c8508808..68a996681d1db8830c4d256ab65c15ff2d701947 100644 (file)
@@ -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.