Skip to content

TFPExprFunctionEvent

Event procedure type for function evaluation

Declaration

Source position: fpexprpars.pp line 493

type
  TFPExprFunctionEvent = procedure(var Result: TFPExpressionResult; 
                                 const Args: TExprParameterArray)
                                  of object;

Arguments

Name Description
Result The result of the function event
Args The arguments passed to the function

Description

This event procedure type defines the signature for event handlers that implement custom function evaluation. It provides a method-based approach to function implementation using object methods rather than standalone procedures.