TFPSList.Extract procedure
delete an element from the list.
Declaration
procedure Extract(Item: Pointer; ResultPtr: Pointer)Arguments
Item | Pointer to item to extract. |
ResultPtr | The actually removed item. |
Description
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
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 Delete does.
Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
