Swap  Array

The Swap function swaps two items.

Syntax

Integer Array.Swap(
     Integer index,
     Integer index2)

Parameters

indexIndex of the first item.Required
index2Index of the second item.Required

Return value

The Swap function returns true.

If an error occurs, the Swap function returns false.

Example

myArray.Swap(2, 5)
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia