FutureBasic Logo

<<    Index    >> FutureBasic 5

BlockMove   statement

BlockMove sourceAddr, destinationAddr, numberBytes

Copies a range of bytes which begin at address sourceAddr, to the address range that begins at address destinationAddr. The numberBytes parameter specifies the number of bytes which are to be copied. The copying works correctly even if the source and destination ranges overlap.

dim as short src(9), dst(9) // 10-element arrays
// Copy one array to the other:
BlockMove @src(0), @dst(0), 10*sizeof( short )

See Also:
let; varptr