Sign in Join
FPDoc Onlineexperiment

CopyArray procedure

In unit System

Copy managed-type elements in array.

Declaration

pascal
procedure CopyArray(dest: Pointer; source: Pointer; typeInfo: Pointer; 
 count: SizeInt)

Description

CopyArray copies count elements containing managed types from the array pointed to by source to the array pointed to by dest. For this, it uses the type information of the elements as specified in typeinfo.

Under normal circumstances, this procedure should not be used, it is called automatically by the compiler when an array-typed variables are assigned to each other.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.