From: Ben Pfaff Date: Sun, 13 Mar 2016 17:10:35 +0000 (-0700) Subject: doc: Document that value labels are case sensitive. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp;a=commitdiff_plain;h=4dc6293d51b59324286be41465587a72f133ea0b 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. --- 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.