[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TFPList.Exchange

Exchanges two pointers in the list.

Declaration

Source position: classesh.inc line 246

public procedure TFPList.Exchange(

  Index1: Integer;

  Index2: Integer

);

Description

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.


Documentation generated on: May 14 2021