Relocates a chunk of the array to a new index.
int32 Relocate( int32 p_nStart, int32 p_nCount, int32 p_nNewIndex )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nStart | The start index of the chunk you wish to move. |
int32 | p_nCount | The number of items to move. If you move from index 0 with count 5, then you are moving five items. |
int32 | p_nNewIndex | The index to which you wish to move the chunk. The index cannot be inside the chunk you are relocating. For example, if you provide index 0 and a count of 5, you cannot relocate the chunk to index 0, 1, 2, 3, or 4. |
None published. Please look for an example in the Simdify Scripting Language code base.