Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
VAR
  byte Buff1[100]
  byte Buff2[100] 

PUB Main
  bytemove(@Buff2, @Buff1, 100)   'Copy Buff1 to Buff2 

The first line of the Main method, above, copies the entire 100-byte Buff1 array to the Buff2 array. BYTEMOVE is faster at this task than a dedicated REPEAT loop.

Excerpt
hiddentrue

Copy bytes from one region to another in main memory.