Skip to content

TFPExprVariableEvent

Event procedure type for variable evaluation

Declaration

Source position: fpexprpars.pp line 495

type
  TFPExprVariableEvent = procedure(var Result: TFPExpressionResult; 
                                 constref AName: ShortString) of object;

Arguments

Name Description
Result The result of the variable event
AName The name of the variable being evaluated

Description

This event procedure type defines the signature for event handlers that resolve variable values during expression evaluation. It provides a method-based approach to variable resolution using object methods rather than standalone procedures.