But the example says:
sub procedure memcpy(dim p1, p2 as ^byte, dim nn as word)
The function copies nn words from the memory area starting at the address p2 to the memory area starting at p1
Question: nn are words or bytes?txt = "mikroElektronika"
txt_sub = "mikr"
memcpy(@txt+4, @txt_sub, 4) ' string 'txt' will be populated with the first 4 characters of the 'txt_sub' string, beginning from the 4th character
i hope bytes