Move a value from one location to another.
Source position: fpjson.pp line 593
public procedure TJSONArray.Move( |
CurIndex: Integer; |
NewIndex: Integer |
); |
CurIndex |
|
Current index of the element. |
NewIndex |
|
Final index of the element. |
Move moves the element at index CurIndex to the position NewIndex. It will shift the elements in between as needed. This operation is more efficient than extracting and inserting the element manually.
|
Exchange 2 elements in the list. |
|
|
Extract an element from the array. |
|
|
Insert an element in the array. |