- Found in:
- Dylbills PE
Description
Documentation Comment
Swap==============================================================================
Swap the element at IndexA with the element at IndexB in the akArray
The V functions (V for validate) will first clamp the indexes between 0 and the last available index in the akArray first before swapping.
If you know for sure that the indexes are in bounds, use Swap as it's faster. If you don't know for sure, use SwapV or you might get none entries.
Parameters
string[]akArray
intIndexA
intIndexB
Examples
Auto-Generated Example
string[] myStringArray__akArray
int myInt__IndexA
int myInt__IndexB
DbMiscFunctions.SwapStrings(myStringArray__akArray, myInt__IndexA, myInt__IndexB)