| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Exchanges two pointers in the list.
Source position: classesh.inc line 331
public procedure TList.Exchange(  | 
Index1: Integer;  | 
Index2: Integer  | 
);  | 
Exchange exchanges the pointers at positions Index1 and Index2. Both pointers must be withing the current range of the list, or an EListError exception will be raised.