The Move function moves one or several items.
Syntax
Integer Array.Move(
Integer source,
Integer target,
Integer count = 1)
Integer source,
Integer target,
Integer count = 1)
Parameters
| source | Index of the item to move. | Required |
|---|---|---|
| target | Index of the new item position. -1: End. | Required |
| count | Number of items to move. | Optional |
Return value
The Move function returns true.
If an error occurs, the Move function returns false.
Example
myArray.Move()