help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'contnrs' (#fcl)

TFPObjectList.Exchange

Exchange the location of two objects

Declaration

Source position: contnrs.pp line 49

public procedure TFPObjectList.Exchange(

  Index1: Integer;

  Index2: Integer

);

Arguments

Index1

  

Location of first object

Index2

  

Location of second object

Description

Exchange exchanges the objects at indexes Index1 and Index2 in a direct operation (i.e. no delete/add is performed).

Errors

If either Index1 or Index2 is invalid, an exception will be raised.

See also

TTFPObjectList.Add

TTFPObjectList.Delete

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505