RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
System.Move Function

Copies bytes from a source to a destination.

Pascal
procedure Move(const Source; var Dest; Count: Integer);
C++
Move(const  Source,  Dest, int Count);

System

Move copies Count bytes from Source to Dest. No range checking is performed. Move compensates for overlaps between the source and destination blocks.  

Whenever possible, use the global SizeOf function (Delphi) or the sizeof operator (C++) to determine the count. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!