CoreClasses Xojo Plugin

ObjectArray.Swap Method (console safe)

Use this method to swap two objects in the array.

Swap(
   ElementA as Integer,
   ElementB as Integer)

Parameters

ElementA
Use this parameter to specify one of the element to swap.
ElementB
Use this parameter to specify the other element to swap.

Remarks

ObjectArray is 0 based, that is the first item is number 0.

See Also

ObjectArray Class