mirror of
https://github.com/KarolS/millfork.git
synced 2026-04-20 18:16:35 +00:00
Add scrstring module
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@
|
||||
|
||||
* [`stdlib` module](stdlib/stdlib.md)
|
||||
|
||||
* [`string` module](stdlib/string.md)
|
||||
* [`string` and `scrstring` modules](stdlib/string.md)
|
||||
|
||||
* [`stdio` module](stdlib/stdio.md)
|
||||
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@
|
||||
|
||||
* [`stdlib` module](stdlib/stdlib.md)
|
||||
|
||||
* [`string` module](stdlib/string.md)
|
||||
* [`string` and `scrstring` modules](stdlib/string.md)
|
||||
|
||||
* [`stdio` module](stdlib/stdio.md)
|
||||
|
||||
|
||||
@@ -32,3 +32,16 @@ Sets `errno`.
|
||||
#### `void strzappendchar(pointer buffer, byte char)`
|
||||
|
||||
Modifies the given null-terminated buffer by appending a null-terminated string or a single character respectively.
|
||||
|
||||
## scrstring
|
||||
|
||||
The `scrstring` module automatically imports the `string` and `err` modules.
|
||||
|
||||
It contains functions for handling strings in the screen encoding with the same semantics as the functions from the string module.
|
||||
|
||||
#### `byte scrstrzlen(pointer str)`
|
||||
#### `sbyte scrstrzcmp(pointer str1, pointer str2)`
|
||||
#### `void scrstrzcopy(pointer dest, pointer src)`
|
||||
#### `word scrstrz2word(pointer str)`
|
||||
#### `void scrstrzappend(pointer buffer, pointer str)`
|
||||
#### `void scrstrzappendchar(pointer buffer, byte char)`
|
||||
|
||||
Reference in New Issue
Block a user