Swaps the position of two items in the Items array.
procedure Exchange(Index1: Integer; Index2: Integer);
__fastcall Exchange(int Index1, int Index2);
Call Exchange to swap the positions of the items at positions Index1 and Index2 of the Items array. The indexes are zero-based, so the first item in the list has an index value of 0, the second item has an index value of 1, and so on.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!