ArraySwap()

Swaps the elements around at the given index position

Usage

BOOLEAN = ArraySwap( array, index1, index2 )
Argument Summary
array Array object
index1 index1
index2 index2

Calling

Supports named-parameter calling allowing you to use the function like:

ArraySwap(
   array=?, 
   index1=?, 
   index2=?
);

Supports passing parameters as a structure using ArgumentCollection:

ArraySwap( ArgumentCollection={
   array : ?, 
   index1 : ?, 
   index2 : ?
} );