X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fexpressions.texi;h=c6c96dfb931d8f33e8b0c56f15b8ceb35fe61af4;hb=35dac0a274893c6ba1d58d33a0889096eef033b4;hp=b781ec1afc4b6337f9f7cb58a15f623b64ef4f60;hpb=613c43f8bc580c48a5a4d8078b83360e29483b38;p=pspp-builds.git diff --git a/doc/expressions.texi b/doc/expressions.texi index b781ec1a..c6c96dfb 100644 --- a/doc/expressions.texi +++ b/doc/expressions.texi @@ -260,7 +260,7 @@ The sections below describe each function in detail. * String Functions:: CONCAT INDEX LENGTH LOWER LPAD LTRIM NUMBER RINDEX RPAD RTRIM STRING SUBSTR UPCASE * Time & Date:: CTIME.xxx DATE.xxx TIME.xxx XDATE.xxx -* Miscellaneous Functions:: LAG YRMODA +* Miscellaneous Functions:: LAG YRMODA VALUELABEL * Statistical Distribution Functions:: PDF CDF SIG IDF RV NPDF NCDF @end menu @@ -1066,6 +1066,14 @@ the date specified, plus one. The date passed to @code{YRMODA} must be on or after 15 Oct 1582. 15 Oct 1582 has a value of 1. @end deftypefn +@cindex value label +@deftypefn {Function} VALUELABEL (@var{variable}) +Returns a string matching the label associated with the current value +of @var{variable}. If the current value of @var{variable} has no +associated label, then this function returns the empty string. +@var{variable} may be a numeric or string variable. +@end deftypefn + @node Statistical Distribution Functions @subsection Statistical Distribution Functions