Sign in Join
FPDoc Onlineexperiment

TFPList.ForEachCall procedure

Member of TFPListpublicIn unit Classes

Call a procedure or method for each pointer in the list.

Declaration

pascal
procedure ForEachCall(proc2call: TListCallback; arg: pointer)
procedure ForEachCall(proc2call: TListStaticCallback; arg: pointer)

Description

ForEachCall iterates over all pointers in the list and calls proc2call, passing it the pointer and the additional arg data pointer. Proc2Call can be a method or a static procedure.

Errors

None.

See also

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