Sign in Join
FPDoc Onlineexperiment

TCustomBucketList.Find function

Member of TCustomBucketListpublicIn unit Contnrs

Find an item in the list.

Declaration

pascal
function Find(AItem: Pointer; out AData: Pointer): Boolean

Arguments

AItem

Item to search for in the list.

AData

On return, contains the data pointer associated with AItem.

Function result

True if the item is present in the list.

Description

Find searches for AItem in the list and returns the data pointer associated with it in AData if the item was found. In that case the return value is True. If AItem is not found in the list, False is returned.

See also

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