Add pstrpaste function

This commit is contained in:
Karol Stasiak 2020-04-06 11:53:51 +02:00
parent 78346af2ef
commit 16b83c42f3
1 changed files with 9 additions and 0 deletions

View File

@ -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