Sign in Join
FPDoc Onlineexperiment

TFPStringHashTable.Iterate function

Member of TFPStringHashTablepublicIn unit Contnrs

Iterate over the strings in the hash table.

Declaration

pascal
function Iterate(aMethod: TStringIteratorMethod): AnsiString; virtual
function Iterate(aMethod: TStringIteratorCallback): AnsiString
 ; virtual

Arguments

aMethod

Method to call for each string in the hash table.

Function result

Empty or the string that caused the iterate to abort.

Description

Iterate iterates over all elements in the array, calling aMethod for each string, or until the method returns False in its continue parameter. It returns an empty string if all elements were processed, or the string that was being processed when aMethod returned False in the Continue parameter.

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