skip to main content

Library Routines : M$COPY

M$COPY
The M$COPY library routine copies memory from the source memory area to the destination memory area.
Syntax:
 CALL "M$COPY" USING destination 
Parameters:
Examples:
Example - Allocate 8 bytes of memory on each handle, fill 1 with X characters and then copy first memory contents to second memory area
call "m$alloc" using 8, mem1
call "m$alloc" using 8, mem2
call "m$fill" using mem1, "X"8
call "m$copy" using mem1, mem2, 8

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left