duskos

dusk os fork
git clone git://git.alexwennerberg.com/duskos
Log | Files | Refs | README | LICENSE

commit 0f2c3eff56ba25fee792146083a91c173023eeeb
parent dafe5b5bc6e34ac8344a55aace5c25cab2b9a17e
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun, 18 Jun 2023 16:12:10 -0400

Add reference to "counted string"

Diffstat:
Mfs/doc/usage.txt | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/fs/doc/usage.txt b/fs/doc/usage.txt @@ -46,9 +46,10 @@ Dusk has no DEC/HEX mode. Number literals are parsed using a prefix system. ## Strings -A string is an address to an area in memory starting with a length byte followed -by that many bytes. When we refer to a "string", we refer to that address. For -example, this code will yield a "hello" string to PS (Parameter Stack): +A string is an address to an area in memory starting with a length byte +followed by that many bytes (also known as a "counted string"). When we refer +to a "string", we refer to that address. For example, this code will yield a +"hello" string to PS (Parameter Stack): here 5 c, 'h' c, 'e' c, 'l' c, 'l' c, 'o' c,