help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TFPList.ForEachCall

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

Declaration

Source position: line 0

public procedure TFPList.ForEachCall(

  proc2call: TListCallback;

  arg: pointer

);

procedure TFPList.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

TListStaticCallback

  

Static method callback type for TFPList.ForEachCall

TListCallback

  

Method callback type for TFPList.ForEachCall

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505