From a8fc88be17a1a61174773d89ef72c45a07097232 Mon Sep 17 00:00:00 2001 From: Dianne Skoll Date: Fri, 9 May 2025 17:21:34 -0400 Subject: [PATCH] Clarify that catch() doesn't catch errors when evaluating its second argument. --- man/remind.1.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/man/remind.1.in b/man/remind.1.in index a8ef1850..5508ea4d 100644 --- a/man/remind.1.in +++ b/man/remind.1.in @@ -3280,7 +3280,11 @@ Here are some examples: .nf catch(4/2, 33) returns 2, because 4/2 evaluates without error catch(4/0, 33) returns 33, because 4/0 gives a divide-by-zero error + catch(4/0, 1/0) results in a divide-by-zero error .fi +.PP +Note in the last example that catch does \fInot\fR protect you from errors +in the evaluation of \fBarg2\fR. .RE .TP .B char(i_i1 [,i_i2...])