From f0f66890cc79338265ccd384288b73080ff2c939 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 4 Apr 2022 21:08:50 -0700 Subject: start test cases for material. Small documentation tweak. Numerous bugfixes as a result of testing: null, endp, stringp, symbolp, box, unbox, cdr, equal all found to have some issues. --- cppawk-cons.1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cppawk-cons.1') diff --git a/cppawk-cons.1 b/cppawk-cons.1 index 5cd6c82..8de5fe7 100644 --- a/cppawk-cons.1 +++ b/cppawk-cons.1 @@ -623,10 +623,12 @@ function creates a Lisp object from a native Awk value .IR av . If .I av -is a number, then +is numeric, then .B box returns .IR av . +Note that a value like \fB"1abc\fB is numeric in Awk and +behaves like 1 under arithmetic. If .I av is the Awk undefined value, such as the value of a variable that -- cgit v1.2.3