aboutsummaryrefslogtreecommitdiff
path: root/tests/library/exp-string/notes.md
diff options
context:
space:
mode:
Diffstat (limited to 'tests/library/exp-string/notes.md')
-rw-r--r--tests/library/exp-string/notes.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/library/exp-string/notes.md b/tests/library/exp-string/notes.md
index f360410..7eddda1 100644
--- a/tests/library/exp-string/notes.md
+++ b/tests/library/exp-string/notes.md
@@ -17,3 +17,5 @@ LCASE converts AbC@19 to abc@19 without modifying the source. Its CHAR overload
UCASE converts AbC@19 to ABC@19 without modifying the source. Its CHAR overload returns CHAR H for h or H and preserves @, as in guide section 5.5. Empty length stays zero; two leading NULs survive conversion and letters after them still become ABC.
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.