Start Back Next End
  
ZBasic System Library
51
ZBasic Microcontrollers
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
Previous page Top Next page