Sign in Join
FPDoc Onlineexperiment

TFPList.Exchange procedure

Member of TFPListpublicIn unit Classes

Exchanges two pointers in the list.

Declaration

pascal
procedure 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.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.