[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Moves a pointer from one position in the list to another.
Source position: classesh.inc line 213
public procedure TList.Move( |
CurIndex: Integer; |
NewIndex: Integer |
); |
Movemoves the pointer at position CurIndexto position NewIndex. This is done by storing the value at position CurIndex, deleting the pointer at position CurIndex, and reinserting the value at position NewIndex
If CurIndexor Newindexare not inside the valid range of indices, an EListErrorexception is raised.
|
Exchanges two pointers in the list. |