From 5a54ecdade484168846b8db83a7f41c5275059c0 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 20 Oct 2026 12:02:09 +0000 Subject: docs(strings): document the embedded standard library and STRING values Describe -no-std, C_STRING literals, library function semantics and owning string lifetimes in the manuals and contributor guidance. Co-Authored-By: Claude Opus 5.5 --- doc/language/function/cpsc-function-chr.7.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc/language/function/cpsc-function-chr.7.md') diff --git a/doc/language/function/cpsc-function-chr.7.md b/doc/language/function/cpsc-function-chr.7.md index 1eab413..cc471a5 100644 --- a/doc/language/function/cpsc-function-chr.7.md +++ b/doc/language/function/cpsc-function-chr.7.md @@ -12,7 +12,9 @@ CHR(code : INTEGER) RETURNS STRING # DESCRIPTION -Convert the low eight bits of code to a one-byte string. The result is STRING, not CHAR. Use ASCII codes 1 to 127 for ordinary text; code 0 produces an empty string. +Provided by the standard string library, loaded and linked by default. + +Convert the low eight bits of code to a one-byte string. The result is STRING, not CHAR. Use ASCII codes 1 to 127 for ordinary text; code 0 produces one NUL byte, so LENGTH(CHR(0)) is 1. # EXAMPLE -- cgit v1.3.1-4-g156e