Sign in Join
FPDoc Onlineexperiment

TStringList.Exchange procedure

Member of TStringListpublicIn unit Classes

Implements the Exchange function.

Declaration

pascal
procedure Exchange(Index1: Integer; Index2: Integer); override

Description

Exchange will exchange two items in the list as described in Exchange.

Exchange will not check whether the list is sorted or not; if Exchange is called on a sorted list and the strings are not identical, the sort order of the list will be destroyed.

See also

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