37 of 323
ZBasic System Library 27 ZX Microcontroller Family BlockMove Type Subroutine Invocation BlockMove(count, source, destination) Parameter Method Type Description count ByVal integral The number of bytes to copy. source ByVal integral The address from which to begin copying. destination ByVal integral The address to which to begin copying. Discussion This subroutine is provided for compatibility with BasicX. The more aptly named MemCopy() should be used by new applications. An overlapping copy (when the destination is in the midst of the data being copied) is handled correctly so that the data to be copied is not overwritten. Compatibility With VM firmware versions prior to v1.1.0 an overlapping copy is not handled correctly nor is it handled correctly in BasicX. A BasicX application that relies on the incorrect handling will, therefore, not work as expected when run on ZX processors. See Also BitCopy, MemCopy