TCollection.Exchange procedure
Exchange 2 items in the collection.
Declaration
procedure Exchange(const Index1: Integer; const index2: Integer)Description
Exchange exchanges the items at indexes
Index1 and
Index2
in the collection.Errors
If one of the two indexes is invalid (less than zero or larger than the
number of items) an
EListError exception is raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
