Unit 'fgl' Package
[Overview][Constants][Types][Classes][Index] [#rtl]

TFPGList.Extract

Extract an item from the list.

Declaration

Source position: fgl.pp line 153

public function TFPGList.Extract(

  const Item: T

):T;

Arguments

Item

  

Item to extract.

Function result

The extracted item.

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

TFPSList.Delete

  

Delete an item from the list.


Documentation generated on: Oct 27 2024