doc: Better describe the meaning of THRU in the RECODE command. 20130110030505/pspp 20130110082819/pspp 20130111030503/pspp 20130111085253/pspp
authorBen Pfaff <blp@cs.stanford.edu>
Thu, 10 Jan 2013 05:52:37 +0000 (21:52 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Thu, 10 Jan 2013 05:52:37 +0000 (21:52 -0800)
pohaku <pg@hawaii.edu> reported that the description was ambiguous.

doc/transformation.texi

index 63f85e9ee929bc517bd254ac1898077159aff3f8..5ea809e54f7e0ebd67bfeb343cd22000b29e759c 100644 (file)
@@ -528,11 +528,9 @@ If the source variables are string variables then @var{src_value} may be a
 literal string (like all strings, enclosed in single or double quotes).
 @item @var{num1} THRU @var{num2}
 This form is valid only when the source variables are numeric.
-It specifies all values in the range [@var{num1}, @var{num2}].
-Normally you would ensure that @var{num2} is greater than or equal to
-@var{num1}.
-If @var{num1} however is greater than @var{num2}, then the range 
-[@var{num2},@var{num1}] will be used instead.
+It specifies all values in the range between @var{num1} and @var{num2},
+including both endpoints of the range.  By convention, @var{num1}
+should be less than @var{num2}.
 Open-ended ranges may be specified using @samp{LO} or @samp{LOWEST} 
 for @var{num1}
 or @samp{HI} or @samp{HIGHEST} for @var{num2}.