From 52e0674c54d4b53b2132e750106cc9acb266ed39 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 20 Oct 2026 11:04:39 +0000 Subject: feat(library): add experimental string IS_NUM function Co-Authored-By: Claude Opus 5.5 --- tests/library/exp-string/notes.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/library/exp-string/notes.md') diff --git a/tests/library/exp-string/notes.md b/tests/library/exp-string/notes.md index 7eddda1..e2a1bbc 100644 --- a/tests/library/exp-string/notes.md +++ b/tests/library/exp-string/notes.md @@ -19,3 +19,5 @@ UCASE converts AbC@19 to ABC@19 without modifying the source. Its CHAR overload ASC returns 65 for CHAR A and the first byte of ABCDEFGH, zero for empty strings or NUL, and 255 for a byte with all eight bits set. These byte-code functions are compiler/library extensions. CHR codes 65 and 90 concatenate to AZ; converting A to a code and back preserves 65. Code zero produces one retained NUL byte. Taking the low eight bits gives 65 for 321 and 255 for -1. + +IS_NUM accepts 12.5 and a leading space before 12.5. It rejects trailing junk, empty input, trailing space, whitespace alone, and a NUL byte before or after a valid number, without throwing. Numeric recognition follows the compiler's strtod-based extension. -- cgit v1.3.1-4-g156e