diff options
| author | _ov4 <ov4@ov4.org> | 2026-10-20 11:03:17 +0000 |
|---|---|---|
| committer | _ov4 <ov4@ov4.org> | 2026-10-20 11:03:17 +0000 |
| commit | 079764b8f04f4ae69a3a014224a45a04a157edad (patch) | |
| tree | b09334ed42ba61b2d053d77fc1d00a085f497b2e /pseudocode-lib/README.md | |
| parent | 496c020541d4d35e5800b813b3f8d113a8f2b90b (diff) | |
feat(library): add experimental string ASC overloads
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'pseudocode-lib/README.md')
| -rw-r--r-- | pseudocode-lib/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pseudocode-lib/README.md b/pseudocode-lib/README.md index bd646ee..665e2ed 100644 --- a/pseudocode-lib/README.md +++ b/pseudocode-lib/README.md @@ -28,3 +28,5 @@ The library provides `&`, `_EXP_STRING_NUM_TO_STR` (INTEGER/REAL), `_EXP_STRING_ `_EXP_STRING_LCASE(S : _EXP_STRING)` returns a new `_EXP_STRING` with letters converted to lower case. Its `(Ch : CHAR)` overload returns CHAR, following guide section 5.5. Nonletters and embedded NUL bytes are preserved; the source is unchanged. Use ASCII for predictable case conversion. `_EXP_STRING_UCASE(S : _EXP_STRING)` returns a new `_EXP_STRING` with letters converted to upper case. Its `(Ch : CHAR)` overload returns CHAR, following guide section 5.5. Nonletters and embedded NUL bytes are preserved; the source is unchanged. Use ASCII for predictable case conversion. + +`_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. |
