Unit 'Contnrs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPHashList.ForEachCall

Call a procedure for each element in the list.

Declaration

Source position: contnrs.pp line 266

public procedure TFPHashList.ForEachCall(

  proc2call: TListCallback;

  arg: pointer

);

procedure TFPHashList.ForEachCall(

  proc2call: TListStaticCallback;

  arg: pointer

);

Arguments

proc2call

  

Callback procedure.

arg

  

Additional argument passed to proc2call.

Arguments

proc2call

  

Callback procedure.

arg

  

Additional argument passed to proc2call.

Description

ForEachCall loops over the items in the list and calls proc2call, passing it the item and arg.


Documentation generated on: Nov 23 2024