CoreClasses Xojo Plugin

IArray.Swap Method (console safe)

Use this method on containers that Implement the IArray Interface to swap items in the container.

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

Containers that Implement IArray should be 0 based

See Also

IArray Interface