MOVE

Description

Copies characters from one array to another

Syntax

If Metaware is being used without UNIX, MOVE is defined as:

MOVE(to,from) _move(from,to,sizeof(to))
(_move is a Metaware intrinsic function)

Otherwise MOVE is defined as:

MOVE(to,from) COPY(to,from,sizeof(to))

Remarks

to is the array to copy to. (It cannot be a structure or the pointer to one.) from is the array to copy from. (It cannot be a structure or the pointer to one.) sizeof(to) is an intrinsic C function that gives the number of characters to transfer. Note sizeof(to) is used rather than sizeof(from) to avoid overwriting the target area.