Exchange the location of two objects.
Source position: contnrs.pp line 57
public procedure TFPObjectList.Exchange( |
Index1: Integer; |
Index2: Integer |
); |
Index1 |
|
Location of first object. |
Index2 |
|
Location of second object. |
Exchange exchanges the objects at indexes Index1 and Index2 in a direct operation (i.e. no delete/add is performed).
If either Index1 or Index2 is invalid, an exception will be raised.
|
Add an object to the list. |
|
|
Delete an element from the list. |