Sign in Join
FPDoc Onlineexperiment

TFPGList.Extract function

Member of TFPGListpublicIn unit fgl

Extract an item from the list.

Declaration

pascal
function 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.