mirror of
https://github.com/KarolS/millfork.git
synced 2024-11-01 05:05:32 +00:00
Add pstrpaste function
This commit is contained in:
parent
78346af2ef
commit
16b83c42f3
@ -45,6 +45,15 @@ void pstrappend(pointer buffer, pointer str) {
|
||||
buffer[0] += size
|
||||
}
|
||||
|
||||
void pstrpaste(pointer dest, pointer str) {
|
||||
byte i, size
|
||||
dest -= 1
|
||||
size = str[0]
|
||||
for i,1,parallelto,size{
|
||||
dest[i] = str[i]
|
||||
}
|
||||
}
|
||||
|
||||
void pstrappendchar(pointer buffer, byte char) {
|
||||
buffer[0] += 1
|
||||
buffer[buffer[0]] = char
|
||||
|
Loading…
Reference in New Issue
Block a user