Sign in Join
FPDoc Onlineexperiment

TFPHashList.Remove function

Member of TFPHashListpublicIn unit Contnrs

Remove first instance of a pointer.

Declaration

pascal
function Remove(Item: Pointer): SizeInt

Arguments

Item

Item to remove from the list.

Function result

Data pointer which was removed.

Description

Remove removes the first occurrence of the data pointer Item in the list, if it is present. The return value is the removed data pointer, or Nil if no data pointer was removed.

See also

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