TReplaceFunction procedure type
Function type for dynamic string replacement callbacks
Declaration
TReplaceFunction = function(const AName: string; const Args: string)
: string of objectArguments
AName | Name of replacement function |
Args | Array of string arguments passed to the replacement function |
Function result
Replacement string returned by the function
Description
TReplaceFunction is a function pointer type for implementing dynamic string replacement callbacks.
Functions of this type are used in string substitution systems to provide custom replacement logic for variable expansion.
The function receives a name and arguments array, returning the replacement string value.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
