erxArrayCopy

Copies an existing source array instance to an existing target array instance. Source and target array instance must exist, otherwise an error is returned.

Syntax

extern ERXeReturnCode erxArrayCopy(ERX_HARRAY hArrayTo, ERX_HARRAY hArrayFrom);
The contents of the target array instance are overwritten by the contents of the source instance. See Using unbounded arrays.

Parameters

phArrayTo
Points to the target array instance created previously by erxARrayAlloc.
hArrayFrom
Points to the source array instance created previously by erxArrayAlloc.

Return codes

Table 1. Return codes
Value Meaning
00000000 ERX_S_SUCCESS
00010005 Out of Memory
00010028 Illegal Type
00010079 Invalid Unbounded Array

Related function: erxArrayAlloc