[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Remove the first occurrence of a pointer from the list.
Source position: classesh.inc line 208
public function TList.Extract( |
item: Pointer |
):Pointer; |
Extractsearched for an occurence of item, and if a match is found, the match is deleted from the list. If no match is found, nothing is deleted. If Itemwas found, the result is Item. If Itemwas not found, the result is Nil. A lnExtractednotification event is triggered if an element is extracted from the list. Note that a lnDeletedevent will also occur.
|
Removes a pointer from the list. |
|
|
Returns the index of a given pointer. |
|
|
Removes a value from the list. |