[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TFPList.Extract

Remove the first occurrence of a pointer from the list.

Declaration

Source position: classesh.inc line 164

public function TFPList.Extract(

  item: Pointer

):Pointer;

Description

Extractsearches for the first occurrence of Itemin the list and deletes it from the list. If Itemwas found, it's value is returned. If Itemwas not found, Nilis returned.

See also

TFPList.Delete

  

Removes a pointer from the list.