aboutsummaryrefslogtreecommitdiff
path: root/pseudocode-lib/README.md
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-10-20 11:04:39 +0000
committer_ov4 <ov4@ov4.org>2026-10-20 11:04:39 +0000
commit52e0674c54d4b53b2132e750106cc9acb266ed39 (patch)
tree9d605a6ca2bd6aa894dc46e18dc86da8298bf61d /pseudocode-lib/README.md
parent8975d167c849f54664be8d5da418cd909694d26f (diff)
feat(library): add experimental string IS_NUM function
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'pseudocode-lib/README.md')
-rw-r--r--pseudocode-lib/README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/pseudocode-lib/README.md b/pseudocode-lib/README.md
index 90fab0e..9182b14 100644
--- a/pseudocode-lib/README.md
+++ b/pseudocode-lib/README.md
@@ -32,3 +32,5 @@ The library provides `&`, `_EXP_STRING_NUM_TO_STR` (INTEGER/REAL), `_EXP_STRING_
`_EXP_STRING_ASC(S : _EXP_STRING)` returns the unsigned code of the first byte as INTEGER, or 0 for an empty string. Its `(Ch : CHAR)` overload returns the unsigned byte code of Ch. For ASCII characters this is the ASCII code.
`_EXP_STRING_CHR(Code : INTEGER)` returns a new `_EXP_STRING` containing the low eight bits of Code as one byte. Unlike built-in STRING, `_EXP_STRING` preserves NUL: `_EXP_STRING_CHR(0)` has length 1.
+
+`_EXP_STRING_IS_NUM(S : _EXP_STRING)` returns BOOLEAN indicating whether a nonempty string is fully consumed by `strtod`. Leading whitespace is accepted; trailing whitespace, other trailing text, and embedded NUL bytes are rejected. Invalid numeric text returns FALSE without throwing.