1
0
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:
Karol Stasiak 2020-04-06 11:53:51 +02:00
parent 78346af2ef
commit 16b83c42f3

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