[Overview][Constants][Types][Classes][Index] Reference for unit 'fgl' (#rtl)

TFPGList.Extract

Extract an item from the list

Declaration

Source position: fgl.pp line 148

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: Jun 23 2021