doc/expressions.texi: Correct documentation of MISSING and SYSMIS functions.
authorJohn Darrington <john@darrington.wattle.id.au>
Wed, 26 Jul 2017 19:49:42 +0000 (21:49 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Wed, 26 Jul 2017 19:50:10 +0000 (21:50 +0200)
doc/expressions.texi

index 6ede3ec3e50397877cf36abdf74b88961483ab9d..463d5988657e7c18cd0096266419395eced76225 100644 (file)
@@ -423,7 +423,11 @@ functions.  In particular, user-missing values for numeric variables
 are converted to system-missing values.
 
 @deftypefn {Function} {} MISSING (@var{expr})
-Returns 1 if @var{expr} has the system-missing value, 0 otherwise.
+When @var{expr} is simply the name of a numeric variable, returns 1 if
+the variable has the system-missing value or if it is user-missing.
+For any other value 0 is returned.
+If @var{expr} takes another form, the function returns 1 if the value is
+system-missing, 0 otherwise.
 @end deftypefn
 
 @deftypefn {Function} {} NMISS (@var{expr} [, @var{expr}]@dots{})
@@ -439,10 +443,7 @@ variable ranges using the @code{@var{var1} TO @var{var2}} syntax.
 @end deftypefn
 
 @deftypefn {Function} {} SYSMIS (@var{expr})
-When @var{expr} is simply the name of a numeric variable, returns 1 if
-the variable has the system-missing value, 0 if it is user-missing or
-not missing.  If given @var{expr} takes another form, results in 1 if
-the value is system-missing, 0 otherwise.
+Returns 1 if @var{expr} has the system-missing value, 0 otherwise.
 @end deftypefn
 
 @deftypefn {Function} {} VALUE (@var{variable})