Sign in Join
FPDoc Onlineexperiment

TStringsReduceMethod procedure type

In unit Classes

Reduce algorithm for TStrings.Reduce.

Declaration

pascal
TStringsReduceMethod = function(const s1: string; const s2: string)
: string of object

Description

TStringsReduceMethod is the prototype for the callback in Reduce. The method must return the reduced value for values S1 and S2. On every iteration S1 will contain the result of the previous iteration.

See also

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