Sign in Join
FPDoc Onlineexperiment

TDataIteratorCallBack procedure type

In unit Contnrs

Data iterator CallBack.

Declaration

pascal
TDataIteratorCallBack = procedure(Item: Pointer; const Key: AnsiString; 
 var Continue: Boolean)

Arguments

Item

Data pointer item.

Key

Key associated with item.

Continue

Continue iterating or stop iteration.

Description

TDataIteratorCallBack is a callback prototype for the Iterate static CallBack. It is called for each data pointer in the hash list, passing the key ( key) and data pointer ( item) for each item in the list. If Continue is set to false, the iteration stops.

See also

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