Sign in Join
FPDoc Onlineexperiment

TListCallback procedure type

In unit Types

Method callback for list operations.

Declaration

pascal
TListCallback = procedure(data: pointer; arg: pointer) of object

Description

TListCallback is the prototype for a Foreach operation on a list. It will be called with as Data the pointer in the list, and Arg will contain the extra user data added to the Foreach call. It can be used in methods of objects; for a version that can be used as a global procedure, see TListStaticCallback

See also

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