Move  Array

The Move function changes the position of the specified item.

Syntax

Integer Array.Move(
     Integer source,
     Integer target,
     Integer count = 1)

Parameters

sourceIndex of the item to move.Required
targetNew position.
-1: End.
Required
countNumber of consecutive items to move.Optional

Return value

The Move function returns true.

If an error occurs, the Move function returns false.

Example

// The first will be the last
myArray.Move(0, -1)
SECCIA Documentation - Copyright © 2001-2012 Sylvain Seccia