Sign in Join
FPDoc Onlineexperiment

TStringIteratorMethod procedure type

In unit Contnrs

Iterator callback type.

Declaration

pascal
TStringIteratorMethod = procedure(Item: AnsiString; 
 const Key: AnsiString; 
 var Continue: Boolean) of object

Arguments

Item

String associated with key.

Key

Key value.

Continue

Should iterate continue or stop ?

Description

TStringIteratorMethod is the callback prototype for the TFPStringHashTable method. It is called for each element in the hash table, with the string. 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.