[Overview][Constants][Types][Classes][Index] |
delete an element from the list
Source position: fgl.pp line 77
public procedure TFPSList.Extract( |
Item: Pointer; |
ResultPtr: Pointer |
); |
Item |
|
Pointer to item to extract |
ResultPtr |
|
The actually removed item. |
Extract removes the item pointed to by Item from the list. It returns a pointer to the actually removed item from the list. The item is searched using TFPSList.IndexOf. If the item is not found, nil is returned.
Some descendents own the items in the list. Extract will not dispose of the item, as TFPSList.Delete does.
None.
|
Delete an item from the list |
|
|
Add a new item to the list |
|
|
Search an item in the list |