From b391b2129e9ef2399111ddd0fb651ac76e56a43d Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Tue, 7 Dec 2021 11:57:14 -0500 Subject: [PATCH] More explanation of any --- man/remind.1 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/man/remind.1 b/man/remind.1 index 71609ceb..c70adf82 100644 --- a/man/remind.1 +++ b/man/remind.1 @@ -2362,6 +2362,16 @@ $TimeSep and $DateTimeSep when formatting its output. For example: Returns 1 if the first argument \fIarg1\fR is equal to any of the subsequent arguments \fIarg2\fR through \fIargN\fR; returns 0 otherwise. Also returns 0 if called with only one argument. +.RS +.PP +As an example, the following two expressions are equivalent: +.PP +.nf + (a == b) || (a == c) || (a == d) || (a == e) + + any(a, b, c, d, e) +.fi +.RE .TP .B args(s_fname) Returns the number of arguments expected by the user-defined function