Skip to content

TFPGList.Extract

Extract an item from the list

Declaration

Source position: fgl.pp line 149

public 
  function Extract(const Item: T) : T;

Description

Extract removes Item from the list and returns the removed item, or an expression equivalent to T(0) if it was not found.

Errors

None.

See also

Name Description
TFPSList.Delete Delete an item from the list